$#array refers to an index value into the array @array. It should never be used to determine the number of elements of @array. For example:
if ( $#ARGV < 2 ) {
Should be written as:
if ( @ARGV < 3 ) {
In reply to Re: The maybe it is better written this way tool
by Anonymous Monk
in thread The maybe it is better written this way tool
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |