in reply to trouble installing Catalyst helper Authentication::CDBI on windows (cl fails)
I found this on the Catalyst maillist archives. Switch out the use of one Cache::Cache module for another that works on Windows, in this case Cache::FileCache. Here is the change to Catalyst::Plugin::Authentication::FastMmap in patch form:
--- FastMmap.pm-0.12 2005-05-25 17:33:18.000000000 -0500 +++ FastMmap.pm 2005-07-21 20:15:07.527036800 -0500 @@ -3,7 +3,8 @@ use strict; use base qw/Class::Data::Inheritable Class::Accessor::Fast/; use NEXT; -use Cache::FastMmap; +#use Cache::FastMmap; +use Cache::FileCache; use Digest::MD5; use URI; use URI::Find; @@ -124,9 +125,12 @@ $self->config->{session}->{rewrite} ||= 0; $self->_session( - Cache::FastMmap->new( + # Cache::FastMmap->new( + Cache::FileCache->new( + { share_file => $self->config->{session}->{storage}, expire_time => $self->config->{session}->{expires} + } ) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: trouble installing Catalyst helper Authentication::CDBI on windows (cl fails)
by Anonymous Monk on Aug 30, 2005 at 16:15 UTC | |
by mrkoffee (Scribe) on Aug 31, 2005 at 20:07 UTC |