Skip Menu |

This queue is for tickets about the Cache-Cache CPAN distribution.

Report information
The Basics
Id: 101678
Status: new
Priority: 0/
Queue: Cache-Cache

People
Owner: Nobody in particular
Requestors: rjbs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: FileCache's cache_root option to new is totally unreliable
It seems hard to swallow, but if you add ({cache_root => $tmpdir}) to the FileCache constructor in the tests, you'll see that it is used once, then discarded. This appears to be because many operations, like _Get_Cache, never look at $self, but use Static_Params to see whether a root was passed in on a per-method basis. I have tried to fix this on github: https://github.com/rjbs/Cache-Cache/tree/cache-root I'm not sure whether that really fixes it. It seems like a hot mess. -- rjbs