But look at this:
$x = 'Just Another Perl Hacker'; $x =~ tr/[A-Z]/a-z /; print $x;
Prints out "kust bnother qerl iacker".
Can someone explain this?
--
($_='jjjuuusssttt annootthhrer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
In reply to character classes in transliterations by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |