Module:...:Include(3)
π NAME π
okay so bestie, welcome to the Module:...:Include(3) page from the User Contributed Perl Documentation β¨ β this is all about Module::Install::Admin::Include, the include methods for Module::Install π
. highkey useful, no cap.
π auto_include_dependent_dists π
so like, auto_include_dependent_dists literally grabs everything in this module's build_requires and attempts to include everything (at the whole distribution level) recursively. it's giving recursive icon energy π₯.
π include_dependent_dists $package π
you give it a module package name, $package, and it recursively includes every package that module needs. periodt. π
π¦ include_one_dist $module π¦
okay so you hand it a module name, $module, and it figures out which modules are in the dist containing that module and copies all those files to ./inc. obsessed with the copy-paste realness π
.
I bet there's a way to harness smarter logic from PAR π.
also, given a module name, it returns the file on CPAN containing its latest version π.
and it takes the output of CPAN::Module->cpan_file and return all the modules that CPAN.pm knows are in that dist.
There's probably a better way using CPANPLUS π.
xoxo, your gen z unix bestie π β this page is from perl v5.42.0, dated 2023-04-29, and it's the Module:...:Include(3) page. slay! π
π¦ 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