|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^6: Executing a string as a Perl commandby ctilmes (Priest) |
| on May 16, 2011 at 13:25 UTC ( #905076=note: print w/ replies, xml ) | Need Help?? |
|
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?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||