|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Regarding Initialization and Use of Hashesby MidLifeXis (Prior) |
| on Sep 04, 2012 at 17:06 UTC ( #991657=note: print w/ replies, xml ) | Need Help?? |
|
%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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||