$value = lookupString($value) if($value !~ /^\d+$/); #### $value =~ /^\s*[+-]?\s*\d+\s*$/