laziness, impatience, and hubris | |
PerlMonks |
Re: Interpolating backreferences in an evalby gone2015 (Deacon) |
on Feb 11, 2009 at 17:11 UTC ( [id://743111]=note: print w/replies, xml ) | Need Help?? |
Try: ...eval comes in two flavours: (a) eval BLOCK -- in which the BLOCK is compiled in the usual way, and the eval is a way of trapping die; (b) eval EXPR in which the result of the EXPR is parsed and executed at run time. See expr. Of course, you could also:
In Section
Seekers of Perl Wisdom
|
|