There's more than one way to do things | |
PerlMonks |
Re^2: using int and the range functionby soonix (Canon) |
on Jan 16, 2015 at 07:42 UTC ( [id://1113445]=note: print w/replies, xml ) | Need Help?? |
I think this is closest to the OP's intent, because it also detects if the number doesn't fit into an "integer". But I'd change the if condition tobecause for humans that's easier to parse than
In Section
Seekers of Perl Wisdom
|
|