Catman...x::Base(3pm)

πŸ“¦
version 1.2025 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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:

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