Man pages sections > man3 > Catmandu::Fix::code

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

Catmandu::Fix::code(3pm) User Contributed Perl Documentation Catmandu::Fix::code(3pm)

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
2017-10-01 perl v5.26.0