inc::Mo...Install(3)
π NAME π
inc::Module::Install β the Module::Install configuration system. This is the inc::Mo...Install(3) page from the User Contributed Perl Documentation, bestie π
.
β¨ SYNOPSIS β¨
use inc::Module::Install;
π¦ DESCRIPTION π¦
okay so first things first: this module checks whether the inc/.author directory exists, and if it does, it removes the whole inc/ directory. Poof. Gone. That way the module author always gets a fresh inc every single time they run Makefile.PL β no stale leftovers, no cap β¨.
Next it unshifts the string "inc" into @INC, then loads Module::Install from there. Cute, efficient, slay.
Below is an explanation of the reason for using a loader module, bestie:
The original implementation of CPAN::MakeMaker introduces subtle problems for distributions ending with CPAN (e.g. CPAN.pm, WAIT::Format::CPAN), because its placement in ./CPAN/ duplicates the real libraries that will get installed; also, the directory name ./CPAN/ may confuse users. Yeah, not the vibe π.
On the other hand, putting included, for-build-time-only libraries in ./inc/ is a normal practice, and there is little chance that a CPAN distribution will be called Something::inc, so it's much safer to use. Lowkey iconic.
Also, it allows for other helper modules like Module::AutoInstall to reside also in inc/, and to make use of them. Love that for us π«Ά.
πΈ AUTHORS πΈ
Audrey Tang <autrijus@autrijus.org> β yes, that's the author, periodt.
π COPYRIGHT π
Copyright 2003, 2004 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>.
mwah π this page came from perl v5.42.0 and is dated 2023-04-29 β stay iconic, bestie! π¦β¨
π¦ 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