I find #2's unless (@ARGV == 2) harder to read than if (@ARGV != 2)
Me too but, as a non-native english speaker, I find it much easier to translate "unless" as if it were "if not".
--
David Serrano
In reply to Re^2: Best practices for processing @ARGV ?
by Hue-Bond
in thread Best practices for processing @ARGV ?
by gu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |