libapa...uildMM(3pm)

πŸ’– NAME πŸ’–

So bestie, welcome to libapa...uildMM(3pm) β€” that's the page for ModPerl::BuildMM, a "subclass" of ModPerl::MM that's literally built for one job: building mod_perl 2.0. She's the construction crew of the mod_perl world. πŸ‘‘ (Also yes, it lives in section 3pm, the Perl module section, iykyk.)


✨ SYNOPSIS ✨

Like, here's the whole vibe in code:

use ModPerl::BuildMM;

# ModPerl::BuildMM takes care of doing all the dirty job of overriding
ModPerl::BuildMM::WriteMakefile(...);

# if there is a need to extend the methods
sub MY::postamble {
    my $self = shift;

    my $string = $self->ModPerl::BuildMM::MY::postamble;

    $string .= "\nmydist : manifest tardist\n";

    return $string;
}

Okay so lowkey the move is: you use ModPerl::BuildMM; and then let ModPerl::BuildMM::WriteMakefile(...) handle all the dirty job of overriding for you, because she's a giver like that. 🫢

And if you ever need to extend the methods yourself? You write your own MY::postamble, grab $self->ModPerl::BuildMM::MY::postamble into your $string, tack your extra bits onto it, and hand it back. Main character energy, honestly. ✨


🌸 DESCRIPTION 🌸

ModPerl::BuildMM is a "subclass" of ModPerl::MM used for building mod_perl 2.0. That's the whole thing, fr fr.

Need more deets? Then girl, go read the ModPerl::MM manpage. She's the parent, she's got the lore. πŸ’…


πŸ‘‘ OVERRIDEN METHODS πŸ‘‘

Not us keeping the original spelling, we respect the ancestors. πŸŽ€ ModPerl::BuildMM overrides the following methods β€” and not a single one is getting skipped:

  • ModPerl::BuildMM::MY::constants
  • ModPerl::BuildMM::MY::top_targets
  • ModPerl::BuildMM::MY::postamble
  • ModPerl::BuildMM::MY::post_initialize
  • ModPerl::BuildMM::MY::libscan

That's the list. All five. Slay. πŸ’…


🫢 Little reminder bestie: these method names get used as-is, so don't go renaming them, okay? Copy-paste is your friend here. No cap.

Written by the User Contributed Perl Documentation girlies, and yes this page is serving perl v5.42.3, dated 2026-08-20. Periodt. πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from