Subject: | Setting up Cache::FastMmap as backend fails |
Date: | Tue, 31 Jul 2007 14:53:46 +0200 |
To: | bug-Catalyst-Plugin-Cache [...] rt.cpan.org |
From: | Herbert Leitz <hl [...] muenchen-mail.de> |
Hi,
this is not a really a bug, but an interoperability issue. I'm using
Catalyst::Plugin::Cache-0.03 and Cache::FastMmap-1.16.
If I specify Cache::FastMmap as a backend in myapp.yml:
...
cache:
backends:
test:
class: Cache::FastMmap
expire_time: 1d
share_file: /tmp/test_cache
...
then setup_cache_backend_by_class() calls
Cache::FastMmap->new(\%config)
but it really needs an even-sized list
Cache::FastMmap->new(%config)
So maybe some provisions should be made for the different
calling conventions of the backends.
Herbert Leitz