Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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)
Comment on Re: size of array from ref
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://155855]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2016-05-02 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?