Try not to reassign a new value to the $userobj value inside the FOR loop.
_________________________
There are two types of vessels, submarines and targets.