[freeside-commits] freeside/FS/FS ClientAPI.pm,1.5,1.6

Ivan,,, ivan at wavetail.420.am
Wed Feb 16 03:04:36 PST 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv10062

Modified Files:
	ClientAPI.pm 
Log Message:
add debugging

Index: ClientAPI.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- ClientAPI.pm	21 Jan 2010 01:25:22 -0000	1.5
+++ ClientAPI.pm	16 Feb 2011 11:04:33 -0000	1.6
@@ -2,11 +2,12 @@
 
 use strict;
 use base 'Exporter';
-use vars qw( @EXPORT_OK %handler $domain $DEBUG );
+use vars qw( @EXPORT_OK %handler $domain $DEBUG $me );
 
 @EXPORT_OK = qw( load_clientapi_modules );
 
 $DEBUG = 0;
+$me = '[FS::ClientAPI]';
 
 %handler = ();
 
@@ -34,6 +35,7 @@
   my ( $self, $name ) = ( shift, shift );
   $name =~ s(/)(::)g;
   my $sub = "FS::ClientAPI::$name";
+  warn "$me dispatch: calling $sub\n" if $DEBUG;
   no strict 'refs';
   &{$sub}(@_);
 }



More information about the freeside-commits mailing list