in reply to Re^3: Stuck with manipulating an array
in thread Stuck with manipulating an array

Ok, apparently I needed to put:
undef $start; undef @answer;