Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: size of array from ref

by tradez (Pilgrim)
on Apr 01, 2002 at 20:57 UTC ( #155855=note: print w/replies, xml ) Need Help??


in reply to size of array from ref

Just use
$size = $#$aref + 1;
Quick, simply, concise, just the way we monks like it.

Tradez
"Never underestimate the predicability of stupidity"
- Bullet Tooth Tony, Snatch (2001)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://155855]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-01-24 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (206 votes). Check out past polls.