http://www.perlmonks.org?node_id=130132


in reply to Re: How to use LWP::Simpe inside a safe compartment?
in thread How to use LWP::Simpe inside a safe compartment?

Hi Jim...

Thanks for your try, but I didn't get any result with this code either. What should happen is that "googe.com" should be downloaded and printed out...

I tried:

$safe->share(qw(LWP::Simple::get wget));
but it gives
require trapped by operation mask at C:/Perl/5.00503/lib/IO/Socket.pm +line 9.
which means that LWP::Simple::get tries to load some stuff which is forbidden within the safe compartment.

Nobody any further ideas!?

Best regards,

Christoph Bergmann