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

I have no idea what that is suppose to do.
  • Comment on Re^3: Can't Use String as an Array Ref Help!

Replies are listed 'Best First'.
Re^4: Can't Use String as an Array Ref Help!
by Anonymous Monk on Apr 23, 2009 at 20:10 UTC
    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.

      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.