Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Getting values in Hash Reference?

by davorg (Chancellor)
on Apr 24, 2006 at 11:13 UTC ( #545250=note: print w/replies, xml ) Need Help??


in reply to Getting values in Hash Reference?

See perldoc perldata - in particular the section on slices (the section talks about array slices, but it's equally applicable to hash slices).

Unfortunately, as you've found, you can't use hash slices with a hash reference and a dereferencing arrow.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2021-06-15 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (66 votes). Check out past polls.

    Notices?