Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Making an array of predifined length with default values

by clueless newbie (Chaplain)
on Mar 04, 2009 at 11:59 UTC ( #748087=note: print w/replies, xml ) Need Help??


in reply to Making an array of predifined length with default values

perhaps @a=(0) x 1000;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2017-03-25 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.