in reply to Last Element of Hash
This is only really a useful thing to do if you are trying to show that no match was found or something else did not hapen in the loop. It may be more readable to just do that same test after the loop has finished.
-Waswas