Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: How to interpret a string as perl code and execute it?by sg (Pilgrim) |
on Feb 05, 2011 at 17:03 UTC ( [id://886420]=note: print w/replies, xml ) | Need Help?? |
Thanks; string eval does work in the example. But the following bit more complex example, in which the string needs to use the "context" of the executing script, fails:
In Section
Seekers of Perl Wisdom
|
|