Jeff,
What needs to be changed in /(-?\d+\.?\d*)/ so that it also see number like .59?
Have you seen any of the Perl documentation sections that deals with regular expressions? This one, for instance, for a quick overview:
http://www.perldoc.com/perl5.8.4/pod/perlrequick.html
I suggest that you give it a try yourself to fix the regex with help of the docs.
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>