Query: plack::session::store::cache
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Plack::Session::Store::Cache(3pm) User Contributed Perl Documentation Plack::Session::Store::Cache(3pm)NAMEPlack::Session::Store::Cache - Cache session storeSYNOPSISuse Plack::Builder; use Plack::Session::Store::Cache; use CHI; my $app = sub { return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ]; }; builder { enable 'Session', store => Plack::Session::Store::Cache->new( cache => CHI->new(driver => 'FastMmap') ); $app; };DESCRIPTIONThis will persist session data using any module which implements the Cache interface. This offers a lot of flexibility due to the many excellent Cache, Cache::Cache and CHI drivers available. This is a subclass of Plack::Session::Store and implements its full interface.METHODSnew ( %params ) The constructor expects the cache param to be an object instance which has the get, set, and remove methods, it will throw an exception if that is not the case. cache A simple accessor for the cache handle.BUGSAll complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.AUTHORMasahiro Chiba perl v5.12.4 2011-03-29 Plack::Session::Store::Cache(3pm)
Similar Topics in the Unix Linux Community |
---|
How can I do this in VI editor? |
Find columns in a file based on header and print to new file |
Weird 'find' results |
New UNIX and Linux History Sections |