%handler = ();
+=head1 NAME
+
+FS::ClientAPI
+
+=item load_clientapi_modules
+
+=cut
+
sub load_clientapi_modules {
#find modules
}
+=item dispatch [ name ]
+
+=cut
+
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}(@_);
}