Perl Monk, Perl Meditation | |
PerlMonks |
Re: evaluating $1 in a replace stringby emilford (Friar) |
on Jul 08, 2002 at 04:17 UTC ( [id://180084]=note: print w/replies, xml ) | Need Help?? |
You might want to take a look at the 'e' modifier for s///. It is an option to have the right side evaluated as an expression.
In Section
Seekers of Perl Wisdom
|
|