Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: Regex Dollar Amounts

by Additude (Initiate)
on Oct 19, 2001 at 15:51 UTC ( [id://119946]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if($amount =~ m/^-?(\d+)\.(\d\d)$/)
    
  2. or download this
          if ($Amount !~ m/^-?(\d+)\.(\d\d)$/) {
             display_output($templatefile,);#error page
             print <<EOF;#good result, move on
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://119946]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-18 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found