There's more than one way to do things | |
PerlMonks |
Re: A string interpreted as an operatorby muntfish (Chaplain) |
on Jul 14, 2006 at 16:00 UTC ( [id://561249]=note: print w/replies, xml ) | Need Help?? |
A perl script can generate and execute perl code itself, inline, without having to write to a file and execute that. Have a look at eval. s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&
In Section
Seekers of Perl Wisdom
|
|