in reply to Re: Strange problem with nested arrays and scoping.
in thread Strange problem with nested arrays and scoping.
Ahhhh...that did it. In the first subroutine, I had @{$data[$sheet][$iC]} = @{$tempdata[$sheet][$iC]}. I changed this to $data[$sheet][$iC] = \@{$tempdata[$sheet][$iC]} and screwed around with some references in the second subroutine, and it's correctly accumulating my value list.
Thanks a lot everyone! I'm on my way again, and with a new knowledge of how (and how NOT) to reference arrays :) You live and learn.