curly braces have more purposes
This my %myhash = %{ $href } ; is just a form of grouping like in the first example to clarify the precedence.
Which doesn't make much sense here since my %myhash = %$href ; has the exact same effect.
And it's not the curly which does the dereference, but the %sigil.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re^2: Tutorial RFC: Guide to Perl references, Part 1
by LanX
in thread Tutorial RFC: Guide to Perl references, Part 1
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |