Subject: | Catalyst::Plugin::Cache and Catalyst::Plugin::Cache::Store::FastMmap |
I use Catalyst::Plugin::Cache and Catalyst::Plugin::Cache::Store::FastMmap.
Show quoted text
I run catalyst. then
[error] Caught exception in engine "metadata must be an even sized list at /Library/Perl/
5.8.6/Catalyst/Plugin/Cache.pm line 211
I wrote patch.
mbp bokutin % diff PageCache.pm.new PageCache.pm
254,260c254,255
< if (exists $c->config->{page_cache}->{no_expire}) {
< $c->cache->set( "_page_cache_index", $index,
< $c->config->{page_cache}->{no_expire} );
< }
< else {
< $c->cache->set( "_page_cache_index", $index );
< }
---
Show quoted text
>> use Catalyst qw/Cache Cache::Store::FastMmap PageCache/;
> $c->cache->set( "_page_cache_index", $index,
> $c->config->{page_cache}->{no_expire} );
I can't speak English. sorry...