[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

AllowGlobal=1

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

and

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


and I still get

74.225.15.207 9jGdfCuz:74.225.15.207 - [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
http://www.readyink.com








More information about the interchange-users mailing list