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.my @beatles = ('John', 'Paul', 'George', 'Ringo'); @beatles =~ tr/A-Z/a-z/; # <--- doesn't work !!!
Thanks for your help!
In reply to tr/// on a list by shoness
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |