Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://611677]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2016-12-08 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (135 votes). Check out past polls.