X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2FClientAPI.pm;h=e4031b26eae228fd35b89f66aba7a3a894d9774d;hb=230e099f92541bc3bc0e2a08e81932ee17909fa0;hp=488b079f269e02b8d490241c35e226ef3e972f0e;hpb=12d7aa6074b038d29f6a8ceae6090d25645a53fc;p=freeside.git diff --git a/FS/FS/ClientAPI.pm b/FS/FS/ClientAPI.pm index 488b079f2..e4031b26e 100644 --- a/FS/FS/ClientAPI.pm +++ b/FS/FS/ClientAPI.pm @@ -6,7 +6,7 @@ use vars qw( @EXPORT_OK %handler $domain $DEBUG $me ); @EXPORT_OK = qw( load_clientapi_modules ); -$DEBUG = 0; +$DEBUG = 1; $me = '[FS::ClientAPI]'; %handler = (); @@ -35,7 +35,7 @@ sub dispatch { my ( $self, $name ) = ( shift, shift ); $name =~ s(/)(::)g; my $sub = "FS::ClientAPI::$name"; - warn "$me dispatch: calling $sub\n" if $DEBUG; + warn "$me dispatch: calling $sub with args @_\n" if $DEBUG; no strict 'refs'; &{$sub}(@_); }