Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
P is for Practical
 
PerlMonks  

Re: Initilize a hash array

by Beatnik (Parson)
on Jan 04, 2003 at 23:36 UTC ( #224335=note: print w/ replies, xml ) Need Help??


in reply to Initialize a hash array

my %data = qw( keyA valueA keyB valueB keyC valueC keyD valueD );
or just
my %data = (keyA=>"valueA",keyB=>"valueB",keyC=>"valueC",keyD=>"valueD +");
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.


Comment on Re: Initilize a hash array
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-04-18 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (464 votes), past polls