in reply to
size of array from ref
Just use
$size = $#$aref + 1;
[download]
Quick, simply, concise, just the way we monks like it.
Tradez
"Never underestimate the predicability of stupidity"
- Bullet Tooth Tony, Snatch (2001)
Comment on
Re: size of array from ref
Download
Code
In Section
Seekers of Perl Wisdom