Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Getting values in Hash Reference?

by abuomarm (Initiate)
on Sep 03, 2013 at 22:40 UTC ( #1052189=note: print w/replies, xml ) Need Help??


in reply to Re^2: Getting values in Hash Reference?
in thread Getting values in Hash Reference?

It doesn't work without a qualifier. If you'll use the hash you need the %. If you'll use a value (follow the dereferenced hash by {Key}), you'll need the $.
  • Comment on Re^3: Getting values in Hash Reference?

Replies are listed 'Best First'.
Re^4: Getting values in Hash Reference?
by Anonymous Monk on Sep 07, 2017 at 09:46 UTC
    This one works perfectly for me $$hash{Key}; this return the value of the Key

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2017-12-13 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (355 votes). Check out past polls.

    Notices?