in reply to allowing Data::Dumper within safe.pm
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: allowing Data::Dumper within safe.pm
by gideondsouza (Pilgrim) on Feb 12, 2013 at 09:34 UTC | |
by Anonymous Monk on Feb 12, 2013 at 09:44 UTC | |
by MidLifeXis (Monsignor) on Feb 12, 2013 at 13:17 UTC | |
by 7stud (Deacon) on Feb 12, 2013 at 17:24 UTC |