blib/lib/Catmandu/Fix/Bind/identity.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Catmandu/Exporter.pm ↑ Summary blib/lib/Catmandu/Fixable.pm »
1 package Catmandu::Fix::Bind::identity;
2  
3 2 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 our $VERSION = '1.0201_02';
6  
7 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 with 'Catmandu::Fix::Bind';
11  
12 2 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
« blib/lib/Catmandu/Exporter.pm ↑ Summary blib/lib/Catmandu/Fixable.pm »