line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catmandu::Fix::Bind::identity; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1041
|
use Catmandu::Sane; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
14
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.2020'; |
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
22
|
use Moo; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
17
|
|
8
|
2
|
|
|
2
|
|
779
|
use namespace::clean; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
12
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
with 'Catmandu::Fix::Bind', 'Catmandu::Fix::Bind::Group'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__END__ |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=pod |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Catmandu::Fix::Bind::identity - a binder that doesn't influence computation |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 SYNOPSIS |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
do identity() |
25
|
|
|
|
|
|
|
fix1() |
26
|
|
|
|
|
|
|
fix2() |
27
|
|
|
|
|
|
|
fix3() |
28
|
|
|
|
|
|
|
. |
29
|
|
|
|
|
|
|
. |
30
|
|
|
|
|
|
|
. |
31
|
|
|
|
|
|
|
fixN() |
32
|
|
|
|
|
|
|
end |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
# will have the same (side)effects as |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
fix1() |
37
|
|
|
|
|
|
|
fix2() |
38
|
|
|
|
|
|
|
fix3() |
39
|
|
|
|
|
|
|
. |
40
|
|
|
|
|
|
|
. |
41
|
|
|
|
|
|
|
. |
42
|
|
|
|
|
|
|
fixN() |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The identity binder doesn't embody any computational strategy. It simply |
47
|
|
|
|
|
|
|
applies the bound fix functions to its input without any modification. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 SEE ALSO |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
L<Catmandu::Fix::Bind> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=cut |