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:
Christopher Spears wrote:
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?
the /s says to squash ( Programming Perl )
Christopher Spears wrote:
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?
tr/// does NOT use regular expressions, it
On Sep 14, Christopher Spears said:
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?
It sounds like you're using an operator you