If you need to make sure that data incoming from a data source is integer, you can use:
if ( $variable =~ m/^[d]*$/ ) { print "integern"; }More info is on SitePoint.
NewPush has solutions to fit your business needs. For more than a decade, our focus has been to take on the technical challenges that are the hardest and most time-consumming. Our goal is to free up your resources to focus on the core activities of your business and to drive your business performance. Please visit our main site at newpush.com for more information or call us at +1-303-423-4500.