Module::Install::Base(3) User Contributed Perl Documentation Module::Install::Base(3)

# [NAME](#NAME)

Module::Install::Base - Base class for Module::Install extensions

# [SYNOPSIS](#SYNOPSIS)

In a **Module::Install** extension:

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

# [DESCRIPTION](#DESCRIPTION)

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

# [METHODS](#METHODS)

[new(%args)](#new%28_args%29)

Constructor -- need to preserve at least \_top

[AUTOLOAD](#AUTOLOAD)

The main dispatcher - copy extensions if missing

**\_top()**

Returns the top-level **Module::Install** object.

[**admin()**](#admin%28%29)

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()**](#is_admin%28%29)

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.

# [SEE ALSO](#SEE_ALSO)

Module::Install

# [AUTHORS](#AUTHORS)

Audrey Tang &lt;autrijus@autrijus.org&gt;

# [COPYRIGHT](#COPYRIGHT)

Copyright 2003, 2004 by Audrey Tang &lt;autrijus@autrijus.org&gt;.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See &lt;http://www.perl.com/perl/misc/Artistic.html&gt;

2026-08-29 perl v5.44.0

---

Document: Module::Install::Base(3pm) from perl-module-install 1.21-r10 (Chainguard OS)
Source: https://github.com/Perl-Toolchain-Gang/Module-Install
