Catman...Modules(3pm)
β¨ NAME β¨
Catmandu::Importer::Modules β the little icon that lists all your installed perl modules inside a namespace π«Ά
(also, hi, this is a 3pm page, so it's perl module documentation, and the title up top is Catman...Modules(3pm) β the man page name got truncated for display but bestie, you know who she is π
)
πΈ DESCRIPTION πΈ
Okay so. This is a Catmandu::Importer, and what it does is literally walk all your perl library paths and hand you back every perl module it finds β and for each one it gives you the whole glow-up package:
nameversion- absolute
file - library
path - and a short description, aka the
about
No cap, it's giving "who's installed on this machine and where are they hiding" π΅οΈββοΈβ¨
π CONFIGURATION π
Every knob you can turn, in order, no skips:
fileβ read input from a local file, you just hand it the path. Orrrrr you can pass a scalar reference and it'll read from a string instead. versatile queen πfhβ read input from anIO::Handle. If you don't set this one,Catmandu::Util::iois used to build the input stream β either from thefileargument or fromSTDIN.encodingβ the binmode of the input streamfh. Defaults to:utf8. β¨fixβ anARRAYof one or more fixes or file scripts that get applied to the imported items. your little makeover station πnamespaceβ the namespace(s) you want modules listed for. Give it an array, or a comma-separated list. you do you π¦incβ the list of library paths. defaults to@INC.max_depthβ the maximum depth to recurse into the namespace. fr fr, here's how it works: if the namespace isCatmandu::Fix, thenCatmandu::Fix::add_fieldhas a depth of1, andCatmandu::Fix::Condition::existshas a depth of2. math is math πpatternβ filter modules by the given regex pattern. πprimaryβ filter modules down to just the first module of each name. one per name, no duplicates, main character only πaboutβ include the short description as given in theNAMEsection of each module's documentation. Enabled by default. so it's on unless you say otherwise π«Ά
π§ METHODS π§
Every Catmandu::Importer is a Catmandu::Iterable, and all its methods are inherited. so likeβ¦ all that iterable energy is yours, you didn't have to lift a finger π
π SEE ALSO π
Catmandu::Importer::CPANCatmandu::Cmd::info
okay that's the whole page bestie, go forth and import some modules πβ
stay slay, this was perl v5.40.1, dated 2026-01-24, and the page lives under Catman...Modules(3pm) β mwah ππ
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms