> my $option = $ARGV[0] || 1;

And what if $ARGV[0] equal to 0 ? Ops ..

Remember what evaluates to FALSE :
* "0"
* 0
* empty string
* undef

Reply via email to