laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Using variables with tr///by frankus (Priest) |
on Nov 14, 2001 at 21:24 UTC ( [id://125371]=note: print w/replies, xml ) | Need Help?? |
This also means by implication that $_ must be used: eval("$c= $d =~ tr/$e/$f/") Opens a whole bag of bunnies, I think you'll agree. I've had to use: eval "tr/$a/$b/" instead. -- ¤
In Section
Seekers of Perl Wisdom
|
|