in reply to Re: appending an array to a hash
in thread appending an array to a hash

Uh no. That's the same arrayref each time. You need to do the my as part of the loop.

"I have a column about that"... and I do. :) See my column on deep copy for the explanation.

-- Randal L. Schwartz, Perl hacker