[Catalyst] C:P:Session::Store::FastMmap

Ishigaki Kenichi ishigaki at tcool.org
Thu May 10 08:58:34 GMT 2007


Hi, you can force install it almost safely (if you have
successfully installed Cache::FastMmap). The broken test
can be fixed like this. 


diff -ur Catalyst-Plugin-Session-Store-FastMmap-0.02/t/basic.t Catalyst-Plugin-Session-Store-FastMmap-0.02-patch/t/basic.t
--- Catalyst-Plugin-Session-Store-FastMmap-0.02/t/basic.t	2006-01-01 20:08:46.000000000 +0900
+++ Catalyst-Plugin-Session-Store-FastMmap-0.02-patch/t/basic.t	2007-05-10 16:48:44.092000000 +0900
@@ -9,8 +9,7 @@
 use Catalyst::Plugin::Session::Test::Store (
     backend => "FastMmap",
     config  => {
-        storage => ( my $tmp = File::Temp->new( UNLINK => 1 ) )
-          ->filename,    # $tmp: positive refcount
+        storage => scalar File::Temp::tmpnam(),
     },
 );
 

You'll see what the point is. Though this may not be perfect,
at least it works for me.

Kenichi Ishigaki aka tcool.


On Wed, 9 May 2007 08:38:13 +0300, "Octavian Rasnita" <orasnita at gmail.com> wrote:

>From: "Ash Berlin" <ash_cpan at firemirror.com>
>
>> http://perlitist.com/static/Cache-FastMmap-1.15.tar.gz
>>
>> The author has been in touch with me, and I've made the changes he asked 
>> for, so hopefully it should be avaiable to CPAN soon.
>>
>> Ash
>
>Yes, this version is the one I've installed, but I cannot install
>Catalyst::Plugin::Session::Store::FastMmap
>
>It gives errors on "nmake test" and I don't know if it is a good idea to 
>force install it.
>
>Octavian
>
>
>
>_______________________________________________
>List: Catalyst at lists.rawmode.org
>Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
>Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
>Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list