Then resetting the hash iterator will probably fix his problem.
In reply to Re^3: While loop and LAST by BrowserUk in thread While loop and LAST by mcoblentz