laziness, impatience, and hubris | |
PerlMonks |
tr/// on a listby shoness (Friar) |
on Sep 14, 2007 at 20:48 UTC ( [id://639077]=perlquestion: print w/replies, xml ) | Need Help?? |
shoness has asked for the wisdom of the Perl Monks concerning the following question:
Monksters! I'd like to do an operation like tr/// on all elements of a list. I think I'm hung up because tr/// returns the number of matches. I could use a foreach, but it seems not terribly perlish. Thanks for your help!
Back to
Seekers of Perl Wisdom
|
|