line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use Catmandu::Sane; |
3
|
65
|
|
|
65
|
|
122454
|
|
|
65
|
|
|
|
|
130
|
|
|
65
|
|
|
|
|
478
|
|
4
|
|
|
|
|
|
|
our $VERSION = '1.2019'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use Catmandu::Util qw(is_instance); |
7
|
65
|
|
|
65
|
|
443
|
use Catmandu; |
|
65
|
|
|
|
|
126
|
|
|
65
|
|
|
|
|
2777
|
|
8
|
65
|
|
|
65
|
|
13630
|
use Moo::Role; |
|
65
|
|
|
|
|
161
|
|
|
65
|
|
|
|
|
390
|
|
9
|
65
|
|
|
65
|
|
15493
|
use namespace::clean; |
|
65
|
|
|
|
|
145
|
|
|
65
|
|
|
|
|
448
|
|
10
|
65
|
|
|
65
|
|
22961
|
|
|
65
|
|
|
|
|
131
|
|
|
65
|
|
|
|
|
405
|
|
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 |