I prefer the regular expression to numeric comparison, because...
use strict; my $var = "xyz"; print "it's a single-digit number!!\n" if $var < 10;
Is "xyz" really a single digit number?
In reply to Re^3: How to split an integer??
by tobyink
in thread How to split an integer??
by nithins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |