in reply to Re^2: Pass array, then clear
in thread Pass array, then clear

I will admit i have gotten bit by it before, but as soon as i realize i know what to fix. It is the same when

for my $var (@array) { $var++; }
ends up modifying the array even tho i said my $var.