inc::Module::Install(3pm)

inc::Module::Install3pm

Module::install configuration system

Usage

  use inc::Module::Install;

Overview

This module first checks whether the inc/.author directory exists, and removes the whole inc/ directory if it does, so the module author always get a fresh inc every time they run Makefile.PL. Next, it unshifts "inc" into @INC, then loads Module::Install from there.

Below is an explanation of the reason for using a loader module:

The original implementation of CPAN::MakeMaker introduces subtle problems for distributions ending with "CPAN" (e.g. CPAN.pm, WAIT::Format::CPAN), because its placement in ./CPAN/ duplicates the real libraries that will get installed; also, the directory name ./CPAN/ may confuse users.

On the other hand, putting included, for-build-time-only libraries in ./inc/ is a normal practice, and there is little chance that a CPAN distribution will be called "Something::inc", so it's much safer to use.

Also, it allows for other helper modules like Module::AutoInstall to reside also in inc/, and to make use of them.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10–11
  9. 12
  10. 13
  11. Arch

Authors

Audrey Tang <[email protected]>

From perl-module-install 1.21-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.