good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: use string as a piece of codeby FunkyMonk (Chancellor) |
on Jul 30, 2010 at 16:45 UTC ( [id://852116]=note: print w/replies, xml ) | Need Help?? |
eval.
Just be very sure that you trust whoever created the file you're reading from. What happens if it contains "system qw{rm -rf /}" (or the equivalent on your OS)? update: Added code
In Section
Seekers of Perl Wisdom
|
|