freeside/FS/FS ClientAPI.pm,1.2,1.3
ivan
ivan at pouncequick.420.am
Fri Feb 4 17:30:58 PST 2005
- Previous message: freeside/httemplate/edit cust_main.cgi,1.52,1.53
- Next message: freeside/FS/FS/ClientAPI Agent.pm,1.3,1.4 MyAccount.pm,1.31,1.32 Signup.pm,1.18,1.19 passwd.pm,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv24077
Modified Files:
ClientAPI.pm
Log Message:
remove unnecessary circular use of FS::ClientAPI, doesn't work with 5.8.[56] + perl??
Index: ClientAPI.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ClientAPI.pm 9 Sep 2002 12:34:55 -0000 1.2
+++ ClientAPI.pm 5 Feb 2005 01:30:55 -0000 1.3
@@ -1,19 +1,23 @@
package FS::ClientAPI;
use strict;
-use vars qw(%handler $domain);
+use vars qw(%handler $domain $DEBUG);
+
+$DEBUG = 1;
%handler = ();
#find modules
foreach my $INC ( @INC ) {
- foreach my $file ( glob("$INC/FS/ClientAPI/*.pm") ) {
+ my $glob = "$INC/FS/ClientAPI/*.pm";
+ warn "FS::ClientAPI: searching $glob" if $DEBUG;
+ foreach my $file ( glob($glob) ) {
$file =~ /\/(\w+)\.pm$/ or do {
warn "unrecognized ClientAPI file: $file";
next
};
my $mod = $1;
- #warn "using FS::ClientAPI::$mod";
+ warn "using FS::ClientAPI::$mod" if $DEBUG;
eval "use FS::ClientAPI::$mod;";
die "error using FS::ClientAPI::$mod: $@" if $@;
}
- Previous message: freeside/httemplate/edit cust_main.cgi,1.52,1.53
- Next message: freeside/FS/FS/ClientAPI Agent.pm,1.3,1.4 MyAccount.pm,1.31,1.32 Signup.pm,1.18,1.19 passwd.pm,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list