Catman...x::Base(3pm)
π Catman...x::Base(3pm) π
okay so bestie, welcome to the User Contributed Perl Documentation section of the man pages β this one's all about Catmandu::Fix::Base, and honestly? it's giving foundational. it's the base role for every single code-emitting Catmandu fix out there. every fixer that spits out code? yeah, it's built on this. no cap. π
β¨ NAME β¨
Catmandu::Fix::Base β the base role for all code emitting Catmandu fixes. like, all of them. every last one. π
π¦ SYNOPSIS π¦
here's the vibe, literally copy-paste this shape and go off:
package Catmandu::Fix::my_fix;
use Catmandu::Sane;
use Moo;
with 'Catmandu::Fix::Base';
sub emit {
my ($self, $fixer) = @_;
....FIXER GENERATING CODE....
}
so yeah β you package your fix, pull in Catmandu::Sane and Moo, with 'Catmandu::Fix::Base' to get the whole role, and then write your emit sub that takes $self and $fixer and does the FIXER GENERATING CODE thing. that's the whole assignment. periodt. β¨
πΈ SEE ALSO πΈ
want the full lore on how to create fixes?? there are two blog posts, and you should fr fr read both:
http://librecat.org/catmandu/2014/03/14/create-a-fixer.htmlhttp://librecat.org/catmandu/2014/03/26/creating-a-fixer-2.html
like, "for more information how to create fixes read the following two blog posts" β that's the assignment, bestie, go read them. iykyk ππ
π«Ά that's it, that's the page. short and iconic, main character energy only.
perl v5.40.1 Β· 2026-01-24 Β· Catman...x::Base(3pm) β mwah, thanks for reading, love u, bye!! πππ¦πΈβ¨
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms