in reply to trouble installing Catalyst helper Authentication::CDBI on windows (cl fails)

Sometimes the best way to fix a problem is to avoid it altogether. Indeed, Cache::FastMmap is not to be found on Windows Perl's, so don't use that.

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} + } ) );
  • Comment on Re: trouble installing Catalyst helper Authentication::CDBI on windows (cl fails)
  • Download Code

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
    You know, I have been trying to figure out how to search that list all day. Perhaps I should have posted to catalyst rather than perlmonks, but I found the "mailman" list interface forbidding.

    I see now that, though there is no search interface that I can discern, it seems to be crawled pretty well by google, so

    http://www.google.de/search?hl=de&q=site%3Alists.rawmode.org+catalyst+fastmmap+windows&btnG=Suche&meta=

    for instance could have gotten me closer to the info I needed. I am just so used to the ease of google groups / perlmonks... spoiled I guess. Oh well.

      The Catalyst list has a searchable archive at GMANE.

      You can also read the #catalyst IRC scrollback at loglibrary. The IRC chatter has been even more helpful to me than the mailing list.