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

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

run arbitrary code as fix

## NAME

Catmandu::Fix::code - run arbitrary code as fix

## SYNOPSIS

```
    my $fix = Catmandu::Fix::code->new( sub {
        my ($data) = @_;
        # ...do something
        return $data;
    });
```

## SEE ALSO

Catmandu::Fix::perlcode, Catmandu::Fix::cmd
