blib/lib/Catmandu/Exporter/Null.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.1% 16 / 17 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/Mock.pm ↑ Summary blib/lib/Catmandu/Exporter/TSV.pm »
1 package Catmandu::Exporter::Null;
2  
3 3 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 our $VERSION = '1.0201_02';
6  
7 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 with 'Catmandu::Exporter';
11  
12 ▶sub add { }
Subroutine add: called CC=1 SCAR=0.0
Pod undocumented
13  
14 3 1;
15  
16 __END__
17  
18 =pod
19  
20 =head1 NAME
21  
22 Catmandu::Exporter::Null - a expoter that doesn't export anything
23  
24 =head1 SYNOPSIS
25  
26 # From the commandline
27 $ catmandu convert JSON --fix myfixes to Null < /tmp/data.json
28  
29 $ catmandu convert JSON --fix 'add_to_exporter(.,JSON)' to Null < /tmp/data.json
30
31 =head1 DESCRIPTION
32  
33 This exporter exports nothing and can be used as in situations where you export
34 data in the Fix script itself.
35  
36 =head1 SEE ALSO
37  
38 L<Catmandu::Importer::Mock>
39  
40 =cut
« blib/lib/Catmandu/Exporter/Mock.pm ↑ Summary blib/lib/Catmandu/Exporter/TSV.pm »