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