in reply to Integer Type Checking

if($VAR =~ m/^\d+$/) { # Integer } else { # Not integer }