Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Just another Perl shrine
 
PerlMonks  

Re: size of array

by Grygonos (Chaplain)
on May 04, 2005 at 09:01 UTC ( [id://453921]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to size of array

I don't think you're going to gain any efficiency or clarity from declaring it as such. I would just make a comment when you declare the array

#@large will hold a 1000 element list my @large;
rather than
#@large will hold a 1000 element list my @large; $#large = 1000;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://453921]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.