Problems? Is your data what you think it is? | |
PerlMonks |
Re: How do I find the size of an array?by Anonymous Monk |
on Dec 06, 2001 at 19:04 UTC ( [id://129924]=note: print w/replies, xml ) | Need Help?? |
When given a reference to an array...
my $size = scalar @{$array_ref};
Originally posted as a Categorized Answer.
In Section
Seekers of Perl Wisdom
|
|