line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catmandu::Exporter::Null; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
109397
|
use Catmandu::Sane; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
28
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.2020'; |
6
|
|
|
|
|
|
|
|
7
|
3
|
|
|
3
|
|
25
|
use Moo; |
|
3
|
|
|
|
|
11
|
|
|
3
|
|
|
|
|
24
|
|
8
|
3
|
|
|
3
|
|
1177
|
use namespace::clean; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
34
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
with 'Catmandu::Exporter'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub add { } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
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 |