Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: datastructure of array and hash?

by holli (Abbot)
on Aug 02, 2007 at 08:49 UTC ( [id://630237]=note: print w/replies, xml ) Need Help??


in reply to datastructure of array and hash?

Do yourself a favour and read about map:
my @array = map { "a$_" } (1..10000); my %hash = map { $_ => "a$_" } (1..10000);


holli, /regexed monk/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found