Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Executing code in a string

by Aristotle (Chancellor)
on Jul 09, 2002 at 20:37 UTC ( #180598=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Safe;
    my $compartment = new Safe;
    $compartment->permit_only(':base_core');
    my $result = $compartment->reval($foo);
    
  2. or download this
    my $result = $compartment->rdo($filename);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://180598]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2023-06-06 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (26 votes). Check out past polls.

    Notices?