Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 154 Bytes
# Primatives
$x = 1;
$string = "hello";
use Scalar::Util qw(looks_like_number);
if(looks_like_number($x)) {
print "$x looks like a number to me.\n";
}