Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?
shmem puts down the Canon garments and dresses as Chancellor
[vrk]: Congratulations. You should have Cookies
[shmem]: thanks vrk - but I'll rather have a plate of "silly con charme"
Lady_Aleena is trying to explain perl regexen to people right now and explaining how variables expand in regexen.
[Lady_Aleena]: The people I'm talking with think /$var/ looks weird with some saying it shouldn't work.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-04-28 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (520 votes). Check out past polls.