Commit | Line | Data |
9bb20750 |
1 | package Plack::Session::Store::Null; |
2 | use strict; |
3 | use warnings; |
4 | |
5 | sub new { bless {} => shift } |
6 | sub fetch {} |
7 | sub store {} |
8 | sub delete {} |
9 | sub cleanup {} |
10 | sub persist {} |
11 | |
12 | 1; |
13 | |
14 | __END__ |
15 | |
16 | =pod |
17 | |
18 | =head1 NAME |
19 | |
20 | Plack::Session::Store::Null - Null store |
21 | |
22 | =head1 DESCRIPTION |
23 | |
24 | Sometimes you don't want to store anything in your sessions, but |
25 | L<Plack::Session> requires a C<store> instance, so you can use this |
26 | one and all methods will return null. |
27 | |
28 | =head1 BUGS |
29 | |
30 | All complex software has bugs lurking in it, and this module is no |
31 | exception. If you find a bug please either email me, or add the bug |
32 | to cpan-RT. |
33 | |
34 | =head1 AUTHOR |
35 | |
36 | Stevan Little E<lt>stevan.little@iinteractive.comE<gt> |
37 | |
38 | =head1 COPYRIGHT AND LICENSE |
39 | |
40 | Copyright 2009 Infinity Interactive, Inc. |
41 | |
42 | L<http://www.iinteractive.com> |
43 | |
44 | This library is free software; you can redistribute it and/or modify |
45 | it under the same terms as Perl itself. |
46 | |
47 | =cut |
48 | |