The my is still required, but stuck in front of $target. ;)
In reply to Re^2: good use of variables by GrandFather in thread good use of variables by steph_bow