I could do that. I do store the $ctime in the hash. If I periodically check to see if $ctime - CTIME is over 2419200 seconds (4 weeks), remove that item. Again, another good idea that I could easily implement.

Again, Thanks.

EDIT: This might be a problem if you have 10,000 unique items in the hash. A while loop might not be the best way to attempt this. Any ideas?

Last edited by Spitfire3292; 02/04/07 01:34 AM.

"In order to succeed, your desire for success should be greater than your fear of failure."