---
name: "Catmandu::Fix::Base"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::Base"
---

# Catmandu::Fix::Base(3pm)

Base role for all code emitting Catmandu fixes

## NAME

Catmandu::Fix::Base - Base role for all code emitting Catmandu fixes

## SYNOPSIS

```
    package Catmandu::Fix::my_fix;
    use Catmandu::Sane;
    use Moo;
    with 'Catmandu::Fix::Base';
    sub emit {
        my ($self, $fixer) = @_;
        ....FIXER GENERATING CODE....
    }
```

## SEE ALSO

For more information how to create fixes read the following two blog posts:

http://librecat.org/catmandu/2014/03/14/create-a-fixer.html http://librecat.org/catmandu/2014/03/26/creating-a-fixer-2.html
