%address->{Name} should be $address{Name} in your second example.
Your first example creates a hash reference, the second creates a hash. $address is about equal to \%address.
--MidLifeXis
In reply to Re: Regarding Initialization and Use of Hashes
by MidLifeXis
in thread Regarding Initialization and Use of Hashes
by Zaemz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |