in reply to Stupid regex question - numerics
if ( $long =~ /^([\-\+]?\d+[\.]?\d*)$/ ) { print "match\n"; } [download]