if( $input =~ /^(\d+)$/ ) { $a = $1; } else { print "Please enter a number\n" } [download]
In reply to Re: Minor querry!! by Adam in thread Minor querry!! by vnpandey