Link to home
Start Free TrialLog in
Avatar of justinsane
justinsane

asked on

Type checking

How would one verify that user input is of integer type?

I am thinkinh that something like:

if ($input == int($input) )

but I can't seem to find any perl type conversion functions.

Thanks,
Justin
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial