in reply to Re^2: Valid Numbers or decimals
in thread Valid Numbers or decimals
...is a perfectly valid number declararion. I think what the OP is after is way to get at what Perl is doing when it compains after you do something like this...my $num = 1_000_000;
Re-writing an existing Perl check in a regex is best avoided if possible IMHOmy $num = 1_000_000; if ($num == "ssf") { print "uh oh"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Valid Numbers or decimals
by zentara (Cardinal) on May 06, 2005 at 16:20 UTC |