in reply to Regarding Initialization and Use of Hashes
%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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regarding Initialization and Use of Hashes
by Anonymous Monk on Sep 04, 2012 at 17:51 UTC | |
|
Re^2: Regarding Initialization and Use of Hashes
by Zaemz (Initiate) on Sep 04, 2012 at 17:07 UTC |