App::Packer::Frontend::ModuleInfo - an App::Packer::Frontend implementation
This App::Packer frontend is based upon Module::Info. Module::Info is rather good at getting information from modules, but there are situatons when it needs some hints in order to wok correctly:
App::Packer
Module::Info
prerequisites
Some modules (for example Tk::Entry) require some other module (Tk in this example) to be loaded in order to compile correctly.
Tk::Entry
Tk
informations
Some modules use hard to detect techniques, for example they require other modules dynamically (i.e. require "$foo.pm"), or use dynamic loading through non-standard modules.
For this reason <App::Packer::Frontend::ModuleInfo> uses an hints file. An hints file looks like this:
[prerequisites] tk=<<EOT ^Tk:: Tk EOT [Module::Name] modules_used=<<EOT My::Module Your::Module EOT uses_dynamic_loading=1
The first section lists module prerequisites: each entry has the form:
name=<<EOT pattern prereq1 prereq2 EOT
To install App::Packer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Packer
CPAN shell
perl -MCPAN -e shell install App::Packer
For more information on module installation, please visit the detailed CPAN module installation guide.