1Module::Install::Base(3U)ser Contributed Perl DocumentatiMoondule::Install::Base(3)
2
3
4
6 Module::Install::Base - Base class for Module::Install extensions
7
9 In a Module::Install extension:
10
11 use Module::Install::Base;
12 @ISA = qw(Module::Install::Base);
13
15 This module provide essential methods for all Module::Install exten‐
16 sions, in particular the common constructor "new" and method dispatcher
17 "AUTOLOAD".
18
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 pro‐
32 gram started); on subsequent (user-side) runs, returns a fake admin
33 object with an empty "AUTOLOAD" method that does nothing at all.
34
36 Module::Install
37
39 Audrey Tang <autrijus@autrijus.org>
40
42 Copyright 2003, 2004 by Audrey Tang <autrijus@autrijus.org>.
43
44 This program is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself.
46
47 See <http://www.perl.com/perl/misc/Artistic.html>
48
49
50
51perl v5.8.8 2007-03-05 Module::Install::Base(3)