in reply to Final Print Statement in Foreach Loop Prints Twice
This was crossposted - also at StackOverflow. :-P