
Hashes tied to tie::hash::expire behave like normal hashes in all respects except that when a key is added or the value associated with a key is changed, the current time is stored, and after 'expire_seconds' the key and value are removed from the hash.
resolutions finer than seconds are available if the module finds access to time::hires.