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

Re^6: Executing a string as a Perl command

by ctilmes (Priest)
on May 16, 2011 at 13:25 UTC ( #905076=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Executing a string as a Perl command
in thread Executing a string as a Perl command

The OP said nothing about a user supplying the string. We pointed out that there are security concerns if you don't trust the string.

If you want to run arbitrary code supplied by a 100% trusted source at runtime, what would you use other than eval?


Comment on Re^6: Executing a string as a Perl command

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2015-07-06 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls