Most likely you will want to print something more than just the length:
but I would rather use theprint @array."\n";
to me it looks more clear.print scalar(@array);
In reply to Re: Printing the length of an array ?
by Jenda
in thread Printing the length of an array ?
by jflevi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |