line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package File::KeePass::KDBX::Tie::Binary; |
2
|
|
|
|
|
|
|
# ABSTRACT: Entry binary |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
1168
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
69
|
|
5
|
2
|
|
|
2
|
|
16
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
53
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
8
|
use parent 'File::KeePass::KDBX::Tie::Hash'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
15
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.902'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub keys { |
12
|
39
|
|
|
39
|
0
|
53
|
my $self = shift; |
13
|
39
|
|
|
|
|
71
|
my ($entry) = @$self; |
14
|
39
|
|
|
|
|
44
|
return [keys %{$entry->binaries}]; |
|
39
|
|
|
|
|
82
|
|
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
11
|
|
|
11
|
0
|
34
|
sub default_getter { my $key = $_[1]; sub { $_[0]->binary_value($key) } } |
|
11
|
|
|
11
|
|
17
|
|
|
11
|
|
|
|
|
56
|
|
18
|
0
|
|
|
0
|
0
|
|
sub default_setter { my $key = $_[1]; sub { $_[0]->binary_value($key, $_) } } |
|
0
|
|
|
0
|
|
|
|
|
0
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |