| 1 | package Catmandu::Fix::Base; | ||
| 2 | |||
| 3 | 107 | ▶ | use Catmandu::Sane; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 107 | our $VERSION = '1.2025'; | |
| 6 | |||
| 7 | 107 | ▶ | use Catmandu::Fix; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 107 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 107 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 107 | with 'Catmandu::Logger'; | |
| 12 | 107 | with 'Catmandu::Fix::Inlineable'; | |
| 13 | 107 | with 'Catmandu::Emit'; | |
| 14 | |||
| 15 | 107 | requires 'emit'; | |
| 16 | |||
| 17 | 336 | ▶ | sub fix { |
|
Subroutine
fix: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 18 | 336 | my ($self, $data) = @_; | |
| 19 | 336 | Catmandu::Fix->new(fixes => [$self])->fix($data); | |
| 20 | } | ||
| 21 | |||
| 22 | 107 | 1; | |
| 23 | |||
| 24 | __END__ | ||