In the script I am writing, I use the following
regular expression:

$pass =~ tr/a-z/A-Z/s;

If I give the expression a string like "Occ", then the
expression will convert it to "OC" instead of "OCC"! 
What is going on?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to