line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use Catmandu::Sane; |
3
|
65
|
|
|
65
|
|
120249
|
|
|
65
|
|
|
|
|
148
|
|
|
65
|
|
|
|
|
450
|
|
4
|
|
|
|
|
|
|
our $VERSION = '1.2018'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use Catmandu::Util qw(is_instance); |
7
|
65
|
|
|
65
|
|
418
|
use Catmandu; |
|
65
|
|
|
|
|
123
|
|
|
65
|
|
|
|
|
2698
|
|
8
|
65
|
|
|
65
|
|
13292
|
use Moo::Role; |
|
65
|
|
|
|
|
165
|
|
|
65
|
|
|
|
|
363
|
|
9
|
65
|
|
|
65
|
|
15040
|
use namespace::clean; |
|
65
|
|
|
|
|
149
|
|
|
65
|
|
|
|
|
445
|
|
10
|
65
|
|
|
65
|
|
21694
|
|
|
65
|
|
|
|
|
142
|
|
|
65
|
|
|
|
|
373
|
|
11
|
|
|
|
|
|
|
has _fixer => |
12
|
|
|
|
|
|
|
(is => 'ro', init_arg => 'fix', coerce => sub {Catmandu->fixer($_[0])},); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Catmandu::Fixable - a Catmandu role to apply fixes |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This role provides a C<fix> attribute to apply fixes to items processed by |
26
|
|
|
|
|
|
|
L<Catmandu::Importer>, L<Catmandu::Exporter>, and L<Catmandu::Bag>. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 CONFIGURATION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 fix |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
An ARRAY of one or more fixes or file scripts to be applied to items. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SEE ALSO |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
L<Catmandu::Fix> |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |