line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
433
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
29
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
23
|
|
3
|
1
|
|
|
1
|
|
6
|
use utf8; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use Plack::Session; |
6
|
1
|
|
|
1
|
|
49
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
56
|
|
7
|
|
|
|
|
|
|
my ($class, $context_class, $conf) = @_; |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
0
|
3
|
no strict 'refs'; |
10
|
|
|
|
|
|
|
*{"${context_class}::session"} = sub { |
11
|
1
|
|
|
1
|
|
6
|
Plack::Session->new($_[0]->request->env) |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
114
|
|
12
|
1
|
|
|
|
|
12
|
}; |
13
|
4
|
|
|
4
|
|
92
|
} |
14
|
1
|
|
|
|
|
4
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
Amon2::Plugin::Web::PlackSession - (DEPRECATED) |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 DESCRIPTION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
This module was deprecated. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Amon2 3.00+ provides C<< $c->session >> natively. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 SEE ALSO |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
L<Plack::Session> |
30
|
|
|
|
|
|
|
|