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