Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[1nickt]: choroba really you did not like it hm?
[choroba]: no, just trying to judge a book in the same way
[choroba]: i.e. using it for a totally different purpose than it was written for

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-11-17 21:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (274 votes). Check out past polls.

    Notices?