in reply to weirdness with delete

I had a bit of trouble following your example, but perhaps the problem is that you are only shallow copying, rather than the needed deep copy. See my article on deep copying for more background information.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: ?Re: weirdness with delete
by dsalada (Scribe) on Jun 26, 2002 at 20:19 UTC
    Thanks, I thought I was deep copying but after reading your article it seems that I'm not going deep enough. I'll try going deeper.