line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
15
|
use 5.008; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
39
|
|
2
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
50
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Data::Conveyor::YAML::Marshall::Payload::Lock; |
6
|
|
|
|
|
|
|
BEGIN { |
7
|
1
|
|
|
1
|
|
22
|
$Data::Conveyor::YAML::Marshall::Payload::Lock::VERSION = '1.103130'; |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
# ABSTRACT: Stage-based conveyor-belt-like ticket handling system |
10
|
1
|
|
|
1
|
|
4
|
use YAML::Marshall 'payload/lock'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
11
|
1
|
|
|
1
|
|
49
|
use parent 'Class::Scaffold::YAML::Marshall'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub yaml_load { |
14
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
15
|
0
|
|
|
|
|
|
my $node = $self->SUPER::yaml_load(@_); |
16
|
0
|
|
|
|
|
|
my $payload_item = $self->delegate->make_obj('payload_lock'); |
17
|
0
|
|
|
|
|
|
while (my ($key, $value) = each %$node) { |
18
|
0
|
|
|
|
|
|
$payload_item->lock->$key($value); |
19
|
|
|
|
|
|
|
} |
20
|
0
|
|
|
|
|
|
$payload_item; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |