I removed the credit card Use lib, pointed $PATH_LIB to an alternative lib
with Client.pm in it and ran reg_system.cgi with perl -d and got:
Can't locate OpenSRS/Client.pm in @INC (@INC contains:
/home/ozbcoz/www/test/lib
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_pe
rl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at reg_system.cgi line
46.
main::BEGIN() called at OpenSRS/Client.pm line 46
eval {...} called at OpenSRS/Client.pm line 46
BEGIN failed--compilation aborted at reg_system.cgi line 46.
does this mean that it may have had difficulties with the eval statement in
Client.pm ? - or is that just part of debug ? Only place Client.pm uses eval
is in sub Login:
eval {
require "Crypt/$crypt_type.pm";
};
Jim Carey