in reply to Referencing an array in a complex hashed data structure
I think you should probably change $WA{$key}{stgs} =(); to $WA{$key}{stags} =[];, i.e. setting stags to a array_ref and using the same key as your initialization (stags in place of stgs).
As well, in place of unshift @{WA{$key}{stags}} you should have unshift @{$WA{$key}{stags}}, repeating that change in the following lines.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Referencing an array in a complex hashed data structure
by Wiggins (Hermit) on Dec 08, 2008 at 20:04 UTC |