line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MojoX::Session::Store::File::Driver::Storable; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1223
|
use base 'MojoX::Session::Store::File::Driver'; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
837
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
2374
|
use Storable qw(store retrieve); |
|
2
|
|
|
|
|
13635
|
|
|
2
|
|
|
|
|
403
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new { |
8
|
1
|
|
|
1
|
0
|
2
|
my $class = shift; |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
|
|
11
|
bless $class->SUPER::new(@_), $class; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub freeze { |
14
|
2
|
|
|
2
|
1
|
18
|
my $self = shift; |
15
|
|
|
|
|
|
|
|
16
|
2
|
|
|
|
|
5
|
my($file, $ref) = @_; |
17
|
2
|
50
|
|
|
|
35
|
$ref = \$ref unless ref $ref; |
18
|
|
|
|
|
|
|
|
19
|
2
|
|
|
|
|
9
|
store $ref, $file; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub thaw { |
23
|
2
|
|
|
2
|
1
|
13
|
my $self = shift; |
24
|
|
|
|
|
|
|
|
25
|
2
|
|
|
|
|
4
|
my $file = shift; |
26
|
|
|
|
|
|
|
|
27
|
2
|
|
|
|
|
10
|
retrieve $file; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |