Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Making an array of predifined length with default values

by clueless newbie (Hermit)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2016-08-25 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (359 votes). Check out past polls.