Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: kust bnother qerl iacker?by premchai21 (Curate) |
on Feb 28, 2002 at 17:01 UTC ( [id://148278]=note: print w/replies, xml ) | Need Help?? |
Not quite. You do not need brackets around the character sets with tr. If you put brackets around in both cases, then you're just adding two characters (mapped to themselves) in the transliteration list, at best, and (if the left bracket is already in the list, mapped to something other than the left bracket) possibly breaking the transliteration, at worst. You're right about the space not being needed, though in this particular case it doesn't do any harm.
In Section
Seekers of Perl Wisdom
|
|