Tracy Hurley wrote:
Camilo,
I don't think you need to put $email in quotes to do the check, but it
works if you do. Try this:
if $email =~/@.*@/g || $email =~ /\n/s;
Hope it helps,
Tracy
New to the list, so apologies if I post incorrectly.
On Feb 28, 2004, at 11:50 PM, Camilo Gonzalez wrote:
zsdc wrote:
Tracy Hurley wrote:
Camilo,
I don't think you need to put $email in quotes to do the check, but
it works if you do. Try this:
if $email =~/@.*@/g || $email =~ /\n/s;
It still might not be secure depanding on how $email is being used
later. Is it used in a system() call? In open
Camilo Gonzalez wrote:
zsdc wrote:
Tracy Hurley wrote:
Camilo,
I don't think you need to put $email in quotes to do the check, but
it works if you do. Try this:
if $email =~/@.*@/g || $email =~ /\n/s;
It still might not be secure depanding on how $email is being used
later. Is it used in a s