in reply to Minor querry!!
You probably want something like:
The /D matches non-digits, so this will be true if $a contains any non-digits.if($a =~ /\D/) { # Not a number }
|
---|
In Section
Seekers of Perl Wisdom