in reply to Re^2: accessing a hash via reference
in thread accessing a hash via reference
Need for <code></code> tags aside, the first is dereferencing a hash ref into a list and then assigning that list to your hash. The second is attempting to assign the hashref to the hash, which will get you a gripe about assigning an odd number of elements to a hash and a hash with one entry with a stringified representation of the hashref (what you're seeing) as the key.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: accessing a hash via reference
by richill (Monk) on Sep 03, 2006 at 14:09 UTC |