if ( ! defined $username || ! $username =~ /[0-9]{10,11}/ ) {

do something;

} else {

do something else;

}

what that's supposed to do is this:
if it's blank or not 10 or 11 digits...

The question is where is my understanding faulty or did I mess up.

Thanks in advance

Bruce

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to