Module:...ll::Base(3)
π Module::Install::Base(3) β the glow-up base class π
okay bestie, so this is the user contributed Perl documentation for Module::Install::Base β a.k.a. the nepo-baby base class that every Module::Install extension inherits from, and honestly? it's giving quiet luxury. lowkey the whole extension ecosystem runs on this thing. π
β¨ NAME β¨
Module::Install::Base β the base class for Module::Install extensions, periodt. π
πΈ SYNOPSIS πΈ
so when you're writing a Module::Install extension, you start with this vibe check:
use Module::Install::Base ();
@ISA = qw(Module::Install::Base);
literally that's it. iconic, no notes. β¨
π DESCRIPTION π
this module hands out the essential methods that all Module::Install extensions need β most importantly the shared constructor "new" and the method dispatcher "AUTOLOAD". it's the main character of the inheritance chain, fr fr. π
π¦ METHODS π¦
new(%args)β the constructor! it takes%argsand you need to preserve at least_top. like, do not lose_top, bestie, it's sacred. πAUTOLOADβ the main dispatcher. it copies extensions if they're missing. iykyk. π₯_top()β returns the top-levelModule::Installobject. your mom, basically. πadmin()β returns the"_top"object's associatedModule::Install::Adminobject on the first run (i.e. when there was noinc/when the program started). on subsequent (user-side) runs? it returns a fake admin object whose"AUTOLOAD"method is empty and does absolutely nothing at all. fake it till you make it energy, honestly. πis_admin()β tells you whether this is the first run of the installer (the author's side). that means: there was noinc/at program start.Trueif that's the case,Falseotherwise. simple as that. β
π SEE ALSO π
Module::Install β go read it, bestie, it's the whole ecosystem. π«Ά
π AUTHORS π
Audrey Tang <autrijus@autrijus.org> β a real one. π
β COPYRIGHT β
Copyright 2003, 2004 by Audrey Tang <autrijus@autrijus.org>. π
this program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πͺ
See <http://www.perl.com/perl/misc/Artistic.html> β the receipts, right there. π
ngl bestie, take the licensing seriously. it's not a vibe, it's a legal vibe. π
okay that's the whole page, bestie β no cap, we got every single detail. this was perl v5.42.0, dated 2023-04-29, and it's the Module:...ll::Base(3) page, slay. go forth and inherit responsibly. π
β¨π¦
π¦ where this page comes from
- opensuse-leap 16.0: perl-Module-Install 1.21-bp160.1.12 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms