die $help unless $ARGV[1];
and it's previous incarnations will die erroneously if the user wants to sum from, say, -7 to 0. Perhaps unless defined $ARGV[1]; would be better?
Cheers,
JohnGG
In reply to Re^5: a simple exercise in readability
by johngg
in thread a simple exercise in readability
by apotheon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |