Module::Install 0.64 review

Download
by rbytes.net on

Module::Install is a standalone, extensible Perl module installer. SYNOPSIS In your Makefile.PL: (Recommended Usage) # Loa

License: Perl Artistic License
File size: 78K
Developer: Brian Ingerson, Audrey Tang and Adam Kennedy
0 stars award from rbytes.net

Module::Install is a standalone, extensible Perl module installer.

SYNOPSIS

In 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 0.64 search tags