Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 meditating upon the Monastery: (13)
As of 2014-07-28 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (200 votes), past polls