$h{foo} is not an execption to the rule. The $ refers to the scalar you want back, just as it does with an array when you say $array[0].
In reply to Re: %h->{foo} vs. $h{foo}..
by perrin
in thread %h->{foo} vs. $h{foo}..
by smferris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |