in reply to Re: What would you do?
in thread What would you do?

This solution does not do quite the same thing. I would like to keep other elements in @list intact, instead of undefing them.