Hash %foo Reference $foo to a hash
%foo %{$foo}, %$foo
@foo{qw/foo bar/} @{$foo}{qw/foo bar/}, @$foo{qw/foo bar/}
$foo{bar} ${$foo}{bar}, $$foo{bar}, $foo->{bar}
(Note: $foo->{bar} notation is prefered when accessing a single value)
In reply to Re: Slicing a hashref
by Juerd
in thread Slicing a hashref
by George_Sherston
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |