What if @ARGV = ("0","0","0"). Then $ARGV[2] is false and you get an error despite having three arguments.
You probably like something like unless @ARGV == 3.
In reply to Re: Re: $ARGV dilemma
by wog
in thread $ARGV dilemma
by dusk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |