The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.02

  • If "expire_seconds" is set to zero all hash keys will expire immediately. If "expire_seconds" is omitted or set to undef hash keys will not expire at all.
  • Support for Time::HiRes included. If Time::HiRes is available, expiration will occur at the highest resolution available through that module. Decimal expiration times are now available. If decimal expirations are specified and Time::HiRes is not available, a warning is generated, but the code will function as though the next larger integer was specified.

Modules

Hashes with keys that expire after a user-set period.