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.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Getting values in Hash Reference?
by davorg
in thread Getting values in Hash Reference?
by gube
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |