Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Re: creating dynamically named 'my' variablesby rob_au (Abbot) |
on Mar 01, 2002 at 04:25 UTC ( [id://148475]=note: print w/replies, xml ) | Need Help?? |
Hmmm, I'm not exactly sure what it is that you are trying to do but you may want to investigate the Safe module for the evaluation of supplied Perl code. This module allows you to evaluate Perl code in a contained compartment where restrictions can be imposed on allowed and disallowed operators - This can be very important where the code is derived from a potentially unsafe source.
perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'
In Section
Seekers of Perl Wisdom
|
|