Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: kust bnother qerl iacker?
by snowcrash (Friar) on Feb 28, 2002 at 08:25 UTC | |
|
Re: kust bnother qerl iacker?
by Anonymous Monk on Feb 28, 2002 at 09:13 UTC | |
by premchai21 (Curate) on Feb 28, 2002 at 17:01 UTC |