Module::InstallModule::Install is a standalone, extensible Perl module installer. | |
Download |
Module::Install Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Brian Ingerson, Audrey Tang and Adam Kennedy
- Publisher web site:
- http://search.cpan.org/~adamk/
Module::Install Tags
Module::Install Description
Module::Install is a standalone, extensible Perl module installer. Module::Install is a standalone, extensible Perl module installer.SYNOPSISIn your Makefile.PL: (Recommended Usage) # Load the Module::Install bundled in ./inc/ use inc::Module::Install; # Define metadata name 'Your-Module'; all_from 'lib/Your/Module.pm'; # Specific dependencies requires 'Carp' => 0; requires 'File::Spec' => '0.80'; build_requires 'Test::More' => '0.42'; recommends 'Your::OtherModule' => '0.01'; no_index 'directory' => 'demos'; install_script 'bin/myscript'; auto_install; WriteAll;Quickly upgrade a legacy ExtUtil::MakeMaker installer: # Drop-in replacement to ExtUtils::MakeMaker use inc::Module::Install; WriteMakefile( ... );A dummy Build.PL so we can work with Module::Build as well: # Dear Distribution Packager. This use of require is intentional. # Module::Install detects Build.PL usage and acts accordingly. require 'Makefile.PL';Module::Install is a package for writing installers for CPAN (or CPAN-like) distributions that are clean, simple, minimalist, act in a strictly correct manner with both the ExtUtils::MakeMaker and Module::Build build systems, and will run on any Perl installation version 5.004 or newer.The intent is to make it as easy as possible for CPAN authors (and especially for first-time CPAN authors) to have installers that follow all the best practices for distribution installation, but involve as much DWIM (Do What I Mean) as possible when writing them. Requirements: · Perl
Module::Install Related Software