X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FPlack%2FSession%2FStore%2FFile.pm;h=4f1e453597f6d234c02422cf5e41c33997f5215e;hb=c4b2fb0e1e73681637a10b6663aaf952a0e49a6f;hp=2b7a660296b290ee50602b240948036c839d8659;hpb=983d87ddaca365aa9c57a973fa3a81fc8470f948;p=catagits%2FWeb-Session.git diff --git a/lib/Plack/Session/Store/File.pm b/lib/Plack/Session/Store/File.pm index 2b7a660..4f1e453 100644 --- a/lib/Plack/Session/Store/File.pm +++ b/lib/Plack/Session/Store/File.pm @@ -2,7 +2,7 @@ package Plack::Session::Store::File; use strict; use warnings; -our $VERSION = '0.09_03'; +our $VERSION = '0.11'; our $AUTHORITY = 'cpan:STEVAN'; use Storable (); @@ -102,7 +102,7 @@ default it will use L to serialize and deserialize the data, but this can be configured easily. This is a subclass of L and implements -it's full interface. +its full interface. =head1 METHODS @@ -121,14 +121,14 @@ is provided then "/tmp" is used. =item B -This is a CORE reference that implements the serialization logic. +This is a CODE reference that implements the serialization logic. The CODE ref gets two arguments, the C<$value>, which is a HASH reference to be serialized, and the C<$file_path> to save it to. It is not expected to return anything. =item B -This is a CORE reference that implements the deserialization logic. +This is a CODE reference that implements the deserialization logic. The CODE ref gets one argument, the C<$file_path> to load the data from. It is expected to return a HASH reference.