Title: determining if a scalar is an integer or not

Good Day All

How can one determine if a variable is a int or not.

e.g.

my $var1 = 100;
my $var2 = "Hello";

How do I determine if $var1 is an integer and $var2 is a string?

Ronald

Reply via email to