print "the number is less than 10\n" if $totalNumber =~ m/(\d+)/ && length($1) == 2 && $1 <= 10;
In reply to Re: vallidating a regular expression
by TedPride
in thread vallidating a regular expression
by s_gaurav1091
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |