Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: size of an array refby Anonymous Monk |
on Feb 24, 2012 at 19:02 UTC ( [id://955973]=note: print w/replies, xml ) | Need Help?? |
# Get the size of a reference to an array:
my $array_ref = 'this','that','the other';
my $item_count = @{$array_ref};
In Section
Seekers of Perl Wisdom
|
|