in reply to Recursive function always returns 0

If $ref is a hash then you are throwing away the return value for the recursive call to unpack_row.
  • Comment on Re: Recursive function always returns 0

Replies are listed 'Best First'.
Re^2: Recursive function always returns 0
by jpfarmer (Pilgrim) on Feb 14, 2007 at 18:44 UTC

    I don't understand how. The values I care about are carried @row and I pass the expanded value of it to each subsequent call. It seems like that ought to do it, esp since the Dumper() call looks right.