Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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.

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 chanting in the Monastery: (9)
As of 2016-08-30 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (420 votes). Check out past polls.