c:\@Work\Perl>perl -wMstrict -le "my $numind = '345xy'; if ($numind !~ /^\d+/) { die qq{'$numind' is not a number}; } print 'sum is ', 123 + $numind; " Argument "345xy" isn't numeric in addition (+) at -e line 1. sum is 468
Give a man a fish: <%-(-(-(-<
In reply to Re^2: using int and the range function
by AnomalousMonk
in thread using int and the range function
by Melderon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |