in reply to Integer Type Checking

For more reliable type checking, there is Data::Types

"This module exports a number of functions that are useful for validating and converting data types. It is intended for use in applications where data types are more important than they typically are in Perl -- e.g., database applications."
mkmcconn
P.S. also check out Damian's Attribute::Types