scalar @{ $arrayref }
Pretty much wherever you use @array you can substitute in @{$arrayref} (and the related invocation for the last index of the array ref is $#{ $arrayref }, but you really shouldn't be using that to determine the size).
In reply to Re: How do you determine the size of array reference?
by Fletch
in thread How do you determine the size of array reference?
by apl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |