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} + } ) );

In reply to Re: trouble installing Catalyst helper Authentication::CDBI on windows (cl fails) by shenme
in thread trouble installing Catalyst helper Authentication::CDBI on windows (cl fails) by tphyahoo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.