Owen schreef: > I would like to accept monetary values like > > $234.00 > $2678 > > but not values with letters like > > $333.oo > > This script below almost works, but I can't get it to catch the > $40o.89 > > Is there a simpler way to do this and catch all the conditions?
See Regexp::Common::number http://search.cpan.org/~abigail/Regexp-Common/ http://search.cpan.org/~abigail/Regexp-Common/lib/Regexp/Common/number.pm -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>