[ic] GlobalSub still getting trapped

Tom Friedel - Ready Ink Incorporated tom at readyink.com
Wed Nov 1 01:18:53 EST 2006

I have in interchange.cfg


GlobalSub <<EOS
sub mysub  {
    require LWP::UserAgent;
     more stuff


[perl subs=1 global=1]
&mysub() ;

and I still get 9jGdfCuz: - [31/October/2006:22:15:49 -0800] 
testing2 /cgi-bin/testing2/process Safe: 'eval "string"' trapped \by 
operation mask at /usr/local/icperl/lib/site_perl/5.8.6/HTTP/Request.pm 
line 77.
 > Compilation failed in require at 
/usr/local/icperl/lib/site_perl/5.8.6/LWP/UserAgent.pm line 12.

I know the payment modules use LWP so there must be a way I can do this,
thank you much in advance,
tom @ readyink.com

More information about the interchange-users mailing list