Question: What should I allow to make Data::Dumper work? I tried permit("eval") but it says no operator recognized
Mwaaah?
Following http://search.cpan.org/dist/Safe/Safe.pm#permit_%28OP,_...%29 says to see http://search.cpan.org/~dom/perl-5.12.5/ext/Opcode/Opcode.pm#Predefined_Opcode_Tags, search for eval, i see entereval and leaveeval -- so try something from that list :)
I assume you can always http://search.cpan.org/dist/Safe/Safe.pm#share_from_%28PACKAGE,_ARRAYREF%29 Dumper
In reply to Re: allowing Data::Dumper within safe.pm
by Anonymous Monk
in thread allowing Data::Dumper within safe.pm
by gideondsouza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |