[perl] How do I tell if a variable has a numeric value in Perl?