in reply to Strange problem with nested arrays and scoping.
You've got yourself into a nasty tangle with reference and sigil syntax. See References quick reference by tye for a review. I can't tell whether you are trying to push a single element or an array, but push( @{$holder[$sheet][$iC]}, $data[$sheet][$iC][$index]); seems a likely interpretation of what you want.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Strange problem with nested arrays and scoping.
by Tyr_7BE (Initiate) on Dec 02, 2003 at 21:18 UTC | |
by Zaxo (Archbishop) on Dec 02, 2003 at 21:31 UTC |