| 1 | 1 | ▶ | use 5.008; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | package Data::Conveyor::YAML::Active::Payload::Lock; | ||||||||||
| 6 | 1 | ▶ | BEGIN { | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 1 | $Data::Conveyor::YAML::Active::Payload::Lock::VERSION = '1.103130'; | |||||||||
| 8 | } | ||||||||||
| 9 | # ABSTRACT: Stage-based conveyor-belt-like ticket handling system | ||||||||||
| 10 | |||||||||||
| 11 | 1 | ▶ | use YAML::Active qw/assert_hashref hash_activate/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | 1 | ▶ | use parent 'Class::Scaffold::YAML::Active'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 13 | |||||||||||
| 14 | 0 | ▶ | sub yaml_activate { | ||||||||
|
Subroutine
yaml_activate: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 15 | 0 | my ($self, $phase) = @_; | |||||||||
| 16 | 0 | assert_hashref($self); | |||||||||
| 17 | 0 | my $hash = hash_activate($self, $phase); | |||||||||
| 18 | 0 | my $payload_item = $self->delegate->make_obj('payload_lock'); | |||||||||
| 19 | 0 | ▶ | while (my ($key, $value) = each %$hash) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 0 | $payload_item->lock->$key($value); | |||||||||
| 21 | } | ||||||||||
| 22 | 0 | $payload_item; | |||||||||
| 23 | } | ||||||||||
| 24 | 1 | 1; | |||||||||
| 25 | |||||||||||
| 26 | |||||||||||
| 27 | __END__ | ||||||||||