Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl Hashes

by dorward (Curate)
on Apr 24, 2007 at 09:57 UTC ( #611677=note: print w/ replies, xml ) Need Help??


in reply to Perl Hashes

> Can I use a variable for value of a hash?

Yes

> qw( var $dw_VAR

qw doesn't interpolate

%$dw_TG = ( var => $dw_VAR str => $dw_STR mkt => $dw_MKT );


Comment on Re: Perl Hashes
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-11-23 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls