in reply to Re^3: Can't Use String as an Array Ref Help!
in thread Can't Use String as an Array Ref Help!

The $#$new_array_ref is the new array ref from the code sample above. The $ref_header is a variable that will add some more data using unshift, I think that the way this is
push @{$new_array_ref} ,[$one, $two, $three, $four, $five, $six, $seve +n, $eight, $nine, $ten, $eleven];

on the new array ref is where the bug is.

Replies are listed 'Best First'.
Re^5: Can't Use String as an Array Ref Help!
by ikegami (Patriarch) on Apr 23, 2009 at 20:33 UTC

    You brought to us a problem with the structure of your data, but you haven't told us anything about how you want your data to be structured. I had to guess.

    And I indicated as much. When I suggested that change, I specified the condition under which it would help.

    Please provide better information.