Plack::Session::Store::Catmandu - Plack session store backed by a Catmandu::Store
Version 0.02
use Plack::Builder; use Plack::Middleware::Session; use Plack::Session::Store::Catmandu; my $app = sub { return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello' ] ]; }; builder { enable 'Session', store => Plack::Session::Store::Catmandu->new( store => 'MongoDB', bag => 'sessions', ); $app; };
Plack::Middleware::Session, Catmandu
Nicolas Steenlant, <nicolas.steenlant at ugent.be>
<nicolas.steenlant at ugent.be>
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Plack::Session::Store::Catmandu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Session::Store::Catmandu
CPAN shell
perl -MCPAN -e shell install Plack::Session::Store::Catmandu
For more information on module installation, please visit the detailed CPAN module installation guide.