use Regexp::Common;
if ($thing =~ /^$RE{num}{dec}$/) {
...
}
(this particular example, of course, requires DWIM.pm... :-)
dha
In reply to Re: Re: Re: Validating Numbers in CGI Script?
by dha
in thread Validating Numbers in CGI Script?
by footpad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |