Context is everything. Used in a quoted string, "@array" will print the elements. You must use it in a numeric context (i.e. if ( @array > 0 )) to have it behave that way.
In reply to Re: Counting elements in array
by boftx
in thread Counting elements in array
by finfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |