in reply to Re: Re: Validating Numbers in CGI Script?
in thread Validating Numbers in CGI Script?
use Regexp::Common;
if ($thing =~ /^$RE{num}{dec}$/) {
...
}
(this particular example, of course, requires DWIM.pm... :-)
dha
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Validating Numbers in CGI Script?
by japhy (Canon) on May 11, 2001 at 03:51 UTC |