|
|
| No such thing as a small change | |
| PerlMonks |
Re: Executing perl codeby SuicideJunkie (Priest) |
| on Feb 13, 2013 at 18:53 UTC ( #1018600=note: print w/ replies, xml ) | Need Help?? |
|
Just make sure nobody types "format c:" into that configuration script! A much safer way to go about it is to read the config file and look up the provided command in a hash to make sure it is legit.
If you still want to play with the dynamite then take a look into eval
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||