line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use Catmandu::Sane; |
3
|
9
|
|
|
9
|
|
5905
|
|
|
9
|
|
|
|
|
22
|
|
|
9
|
|
|
|
|
61
|
|
4
|
|
|
|
|
|
|
our $VERSION = '1.2018'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use Moo::Role; |
7
|
9
|
|
|
9
|
|
61
|
use namespace::clean; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
53
|
|
8
|
9
|
|
|
9
|
|
3122
|
|
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
66
|
|
9
|
|
|
|
|
|
|
1; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=pod |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Catmandu::Fix::Bind::Group - a role for a binder that executes all fixes as one group |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 SYNOPSIS |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# Fixes fix1(), ... fixN() will be passed as one function to the internal 'bind' method |
21
|
|
|
|
|
|
|
do identity() |
22
|
|
|
|
|
|
|
fix1() |
23
|
|
|
|
|
|
|
. |
24
|
|
|
|
|
|
|
. |
25
|
|
|
|
|
|
|
fixN() |
26
|
|
|
|
|
|
|
end |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
# Fixes fix1(), ... fixN() will be passed as one by one to the internal 'bind' method |
29
|
|
|
|
|
|
|
do maybe() |
30
|
|
|
|
|
|
|
fix1() |
31
|
|
|
|
|
|
|
. |
32
|
|
|
|
|
|
|
. |
33
|
|
|
|
|
|
|
fixN() |
34
|
|
|
|
|
|
|
end |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 DESCRIPTION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This role flags a L<Catmandu::Fix::Bind> implementation as a L<Catmandu::Fix::Bind::Group>. |
39
|
|
|
|
|
|
|
All fixes inside a Bind will be treated as one singular function. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 SEE ALSO |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
L<Catmandu::Fix::Bind> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=cut |