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.
In reply to Re: Referencing an array in a complex hashed data structure
by kennethk
in thread Referencing an array in a complex hashed data structure
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |