That's fine for the first step. However, its getting a regex in Perl to output lower case numbers which is the real gotcha!
(Okay, okay. I'm sorry. I just couldn't resist...<g>) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ John-- [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: David Gilden [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 2:13 PM > To: [EMAIL PROTECTED] > Subject: lower casing email address > > > Quick question here, > > which one is better for lowercasing an email address? > > ($email= param('email')) =~ tr/A-Z/a-z/; > > ($email= param('email')) =~ s/(.+)/\L$1/g; > > Thanks! > > Dave > > Now taking the CGI course @ > <http://users.easystreet.com/ovid/cgi_course/> > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]