Is there a simple way in Perl that will allow me to determine if a given variable is numeric? Something along the lines of:
if (is_number($x)) { ... }
I found this interesting though
if ( $value + 0 eq $value) { # A number push @args, $value; } else { # A string push @args, "'$value'"; }