#print "numeric" if $val is one character and it's a digit my $val = "3"; print "numeric\n" if($val =~ m/^\d$/);
/J
In reply to Re: Determine if character is numeric or text
by jplindstrom
in thread Determine if character is numeric or text
by Steve Veltman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |