in reply to Slicing a hashref
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)
|
|---|