No such thing as a small change | |
PerlMonks |
Re: Question about use of tr/ / / and s/ / /gby mincus (Chaplain) |
on May 06, 2001 at 19:20 UTC ( [id://78356]=note: print w/replies, xml ) | Need Help?? |
tr/// does transliteration... it maps characters to other characters.
s/// will take a pattern and replace the pattern... This will explain it in much more detail... Best of luck! UPDATE: Listen to jeffa, he makes much more sence than I... but the best way to understand the difference is still Here
In Section
Seekers of Perl Wisdom
|
|