in reply to Re^4: Problem with DBM hash of anonymous arrays
in thread Problem with DBM hash of anonymous arrays
While you want$PAHASH->{$key}->[$index] # hashref-> hash ->array
Which can also be written as$PAHASH{$key}->[$index] # hash element ->array
update: Or maybe you want$PAHASH{$key}[$index]
If you really want the value as a reference to a scalar (I don't see the point of doing it)${$PAHASH{$key}[$index]}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Problem with DBM hash of anonymous arrays
by travisbickle34 (Beadle) on May 17, 2005 at 13:16 UTC | |
by Joost (Canon) on May 17, 2005 at 14:15 UTC | |
by travisbickle34 (Beadle) on May 17, 2005 at 15:22 UTC |