line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PPIx::DocumentName::Result; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
70871
|
use strict; |
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
65
|
|
4
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
75
|
|
5
|
2
|
|
|
2
|
|
48
|
use 5.006; |
|
2
|
|
|
|
|
8
|
|
6
|
|
|
|
|
|
|
use overload |
7
|
11
|
|
|
11
|
|
12929
|
'""' => sub { shift->to_string }, |
8
|
6
|
|
|
6
|
|
17
|
bool => sub { 1 }, |
9
|
2
|
|
|
2
|
|
1323
|
fallback => 1; |
|
2
|
|
|
|
|
1029
|
|
|
2
|
|
|
|
|
18
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# ABSTRACT: Full result set for PPIx::DocumentName |
12
|
|
|
|
|
|
|
our $VERSION = '1.01'; # VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _new |
16
|
|
|
|
|
|
|
{ |
17
|
11
|
|
|
11
|
|
181
|
my($class, $name, $document, $node) = @_; |
18
|
11
|
|
|
|
|
108
|
bless { |
19
|
|
|
|
|
|
|
name => $name, |
20
|
|
|
|
|
|
|
document => $document, |
21
|
|
|
|
|
|
|
node => $node, |
22
|
|
|
|
|
|
|
}, $class; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
11
|
|
|
11
|
1
|
654
|
sub name { shift->{name} } |
26
|
11
|
|
|
11
|
1
|
46
|
sub document { shift->{document} } |
27
|
11
|
|
|
11
|
1
|
45
|
sub node { shift->{node} } |
28
|
12
|
|
|
12
|
1
|
66
|
sub to_string { shift->{name} } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |