hi again all,

Sorry to keep approaching you with my regex problems, but I really
havn't had time to read up on them yet.

If I have a variable...

$var = "dfasdf";

Is it possible to get a regex to say ... "hang on I only want numerals
in my variable.  I am now going to print an error :)"

if ( $var =! Digits ) {
  print "You entered letters of the alphabet please try again :)";
else {
  print "U entered only digits... WELL DONE!";
}

Thx,

Dan 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to