Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: nested Safe->reval and method from custom Module

by jeremyh (Beadle)
on Sep 15, 2004 at 21:45 UTC ( #391311=note: print w/replies, xml ) Need Help??


in reply to Re: nested Safe->reval and method from custom Module
in thread nested Safe->reval and method from custom Module

Answered my own question thanks to a hint from samtregar about eval and $@ (on a different thread!).
It needed
$compartment->permit( qw( entereval ) );

the nested eval was trapped by the opcode mask of the first eval.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://391311]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-06-24 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (562 votes). Check out past polls.