Ubuntu Manpages

Catmandu::Importer::Modules

list installed perl modules in a given namespace

This Catmandu::Importer list perl modules from all perl library paths with their "name", "version", absolute "file", library "path", and short description ("about").

Read input from a local file given by its path. Alternatively a scalar reference can be passed to read from a string.
Read input from an IO::Handle. If not specified, Catmandu::Util::io is used to create the input stream from the "file" argument or by using STDIN.
Binmode of the input stream "fh". Set to ":utf8" by default.
An ARRAY of one or more fixes or file scripts to be applied to imported items.
Namespace(s) for the modules to list, given as array or comma-separated list
List of library paths (defaults to @INC)
Maximum depth to recurse into the namespace e.g. if the namespace is Catmandu::Fix then Catmandu::Fix::add_field has a depth of 1 and Catmandu::Fix::Condition::exists a depth of 2
Filter modules by the given regex pattern
Filter modules to the first module of each name

Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited.

Catmandu::Importer::CPAN, Catmandu::Cmd::info