libmodule-install-authorrequires-perl - declare author-only dependencies

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libmodule-install-authorrequires-perl
Package version: 0.02
Package release: 1
Package architecture: all
Package type: deb
Installed size: 61 B
Download size: 10.01 KB
Official Mirror:
Modules often have optional requirements, for example dependencies that are useful for (optional) tests, but not required for the module to work properly. Usually you want all developers of a project to have these optional modules installed. However, simply telling everyone or printing diagnostic messages if optional dependencies are missing often isn't enough to make sure all authors have all optional modules installed. Module::Install already has a way of detecting an author environment, so an easy way to achieve the above would be something like: if ($Module::Install::AUTHOR) { requires 'Some::Module'; requires 'Another::Module' => '0.42'; } Unfortunately, that'll also make the optional dependencies show up in the distributions "META.yml" file, which is obviously wrong, as they aren't actually hard requirements. Working that around requires a considerable amount of non-trivial Makefile.PL hackery, or simply using Module::Install::AuthorRequires's "author_requires" command.


    Source package: libmodule-install-authorrequires-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libmodule-install-authorrequires-perl deb package:
      # sudo apt-get install libmodule-install-authorrequires-perl


    • /usr/share/doc/libmodule-install-authorrequires-perl/README
    • /usr/share/doc/libmodule-install-authorrequires-perl/buildinfo_all.gz
    • /usr/share/doc/libmodule-install-authorrequires-perl/changelog.Debian.gz
    • /usr/share/doc/libmodule-install-authorrequires-perl/changelog.gz
    • /usr/share/doc/libmodule-install-authorrequires-perl/copyright
    • /usr/share/man/man3/Module::Install::AuthorRequires.3pm.gz
    • /usr/share/perl5/Module/Install/
    • /usr/share/perl5/Module/Install/Admin/


    2012-06-03 - Jonas Smedegaard <> libmodule-install-authorrequires-perl (0.02-1) unstable; urgency=low * Initial packaging release. Closes: bug#675736.