Just stick a lexically scoped variable there and all will be well.
In reply to Re (tilly) 1: Swapping object variables by tilly in thread Swapping object variables by Matts