line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catmandu::AlephX::Op::IllGetDocShort; |
2
|
1
|
|
|
1
|
|
80811
|
use Catmandu::Sane; |
|
1
|
|
|
|
|
153384
|
|
|
1
|
|
|
|
|
7
|
|
3
|
1
|
|
|
1
|
|
275
|
use Catmandu::Util qw(:check :is); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
380
|
|
4
|
1
|
|
|
1
|
|
6
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = "1.071"; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
with('Catmandu::AlephX::Response'); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has z13 => ( |
11
|
|
|
|
|
|
|
is => 'ro', |
12
|
|
|
|
|
|
|
lazy => 1, |
13
|
|
|
|
|
|
|
isa => sub{ |
14
|
|
|
|
|
|
|
check_hash_ref($_[0]); |
15
|
|
|
|
|
|
|
}, |
16
|
|
|
|
|
|
|
default => sub { {}; } |
17
|
|
|
|
|
|
|
); |
18
|
0
|
|
|
0
|
0
|
|
sub op { 'ill-get-doc-short' } |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub parse { |
21
|
0
|
|
|
0
|
0
|
|
my($class,$str_ref) = @_; |
22
|
0
|
|
|
|
|
|
my $xpath = xpath($str_ref); |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
|
|
|
my $op = op(); |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
|
|
|
my $z13 = {}; |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
|
|
|
my($z) = $xpath->find("/$op/z13")->get_nodelist(); |
29
|
|
|
|
|
|
|
|
30
|
0
|
0
|
|
|
|
|
$z13 = get_children($z) if $z; |
31
|
|
|
|
|
|
|
|
32
|
0
|
|
|
|
|
|
__PACKAGE__->new( |
33
|
|
|
|
|
|
|
session_id => $xpath->findvalue("/$op/session-id"), |
34
|
|
|
|
|
|
|
errors => $class->parse_errors($xpath), |
35
|
|
|
|
|
|
|
z13 => $z13, |
36
|
|
|
|
|
|
|
content_ref => $str_ref |
37
|
|
|
|
|
|
|
); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |