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 1.15 - 2006-05-08

  • catch and rethrow die/exceptions in get_and_set() callbacks
  • avoid undef warnings when using cache_not_found mode
  • use unique tempfile name rather than the same every time
  • add allow_recursive option to allow calls to cache from within a read/write callback sub
  • add checks to die if we try and lock a cache twice, rather than just causing mysterious errors
  • add unlink_on_exit to automatically delete the share_file when the cache exits. default to true if we created the share_file, false if we connected to an existing one
  • make empty_on_exit only call empty if the pid of the process we're cleaning up in is the same as the pid we were created in
  • die in CLONE, making it clear threads aren't supported

Modules

C code implementation for Cache::FastMmap
Uses an mmap'ed file to act as a shared memory interprocess cache