Module::Install::Base(3pm)

Module::Install::Base3pm

Base class for module::install extensions

Usage

In a Module::Install extension:

    use Module::Install::Base ();
    @ISA = qw(Module::Install::Base);

Overview

This module provide essential methods for all Module::Install extensions, in particular the common constructor "new" and method dispatcher "AUTOLOAD".

Methods

new(%args)

Constructor -- need to preserve at least _top

AUTOLOAD

The main dispatcher - copy extensions if missing

_top()

Returns the top-level Module::Install object.

admin()

Returns the "_top" object's associated Module::Install::Admin object on the first run (i.e. when there was no inc/ when the program started); on subsequent (user-side) runs, returns a fake admin object with an empty "AUTOLOAD" method that does nothing at all.

is_admin()

Tells whether this is the first run of the installer (on author's side). That is when there was no inc/ at program start. True if that's the case. False, otherwise.

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.