1Module::Install::Base(3U)ser Contributed Perl DocumentatiMoondule::Install::Base(3)
2
3
4

NAME

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

SYNOPSIS

9       In a Module::Install extension:
10
11           use Module::Install::Base ();
12           @ISA = qw(Module::Install::Base);
13

DESCRIPTION

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

METHODS

20       new(%args)
21           Constructor -- need to preserve at least _top
22
23       AUTOLOAD
24           The main dispatcher - copy extensions if missing
25
26       _top()
27           Returns the top-level Module::Install object.
28
29       admin()
30           Returns the "_top" object's associated Module::Install::Admin
31           object on the first run (i.e. when there was no inc/ when the
32           program started); on subsequent (user-side) runs, returns a fake
33           admin object with an empty "AUTOLOAD" method that does nothing at
34           all.
35
36       is_admin()
37           Tells whether this is the first run of the installer (on author's
38           side). That is when there was no inc/ at program start. True if
39           that's the case. False, otherwise.
40

SEE ALSO

42       Module::Install
43

AUTHORS

45       Audrey Tang <autrijus@autrijus.org>
46
48       Copyright 2003, 2004 by Audrey Tang <autrijus@autrijus.org>.
49
50       This program is free software; you can redistribute it and/or modify it
51       under the same terms as Perl itself.
52
53       See <http://www.perl.com/perl/misc/Artistic.html>
54
55
56
57perl v5.32.1                      2021-01-27          Module::Install::Base(3)
Impressum