Is there any built in functionality for iteration that will allow me to detect when I am on the last element? This would not be hard for an Array, using array.length, but what about a Hash? How would I know when I am at the last element? _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963