Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

module::install::admin(3) [centos man page]

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

NAME
Module::Install::Admin - Author-side manager for Module::Install SYNOPSIS
In a Module::Install extension module: sub extension_method { my $self = shift; $self->admin->some_method(@args); } As an one-liner: % perl "-MModule::Install::Admin" -e'&some_method(@args);' The two snippets above are really shorthands for $some_obj->some_method(@args) where $some_obj is the singleton object of a class under the "Module::Install::Admin::*" namespace that provides the method "some_method". See "METHODS" for a list of built-in methods. DESCRIPTION
This module implements the internal mechanism for initializing, including and managing extensions, and should only be of interest to extension developers; it is never included under a distribution's inc/ directory, nor are any of the Module::Install::Admin::* extensions. For normal usage of Module::Install, please see Module::Install and "COOKBOOK / EXAMPLES" in Module::Install instead. Bootstrapping When someone runs a Makefile.PL that has "use inc::Module::Install", and there is no inc/ in the current directory, Module::Install will load this module bootstrap itself, through the steps below: o First, Module/Install.pm is POD-stripped and copied from @INC to inc/. This should only happen on the author's side, never on the end- user side. o Reload inc/Module/Install.pm if the current file is somewhere else. This ensures that the included version of inc/Module/Install.pm is always preferred over the installed version. o Look at inc/Module/Install/*.pm and load all of them. o Set up a "main::AUTOLOAD" function to delegate missing function calls to "Module::Install::Admin::load" -- again, this should only happen at the author's side. o Provide a "Module::Install::purge_self" function for removing included files under inc/. METHODS
SEE ALSO
Module::Install AUTHORS
Audrey Tang <autrijus@autrijus.org> COPYRIGHT
Copyright 2003, 2004 by Audrey Tang <autrijus@autrijus.org>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/perl/misc/Artistic.html> perl v5.16.3 2012-03-01 Module::Install::Admin(3)

Check Out this Related Man Page

Module::Install::AutoLicense(3pm)			User Contributed Perl Documentation			 Module::Install::AutoLicense(3pm)

NAME
Module::Install::AutoLicense - A Module::Install extension to automagically generate LICENSE files SYNOPSIS
# In Makefile.PL use inc::Module::Install; author 'Vestan Pants'; license 'perl'; auto_license; An appropriate "LICENSE" file will be generated for your distribution. DESCRIPTION
Module::Install::AutoLicense is a Module::Install extension that generates a "LICENSE" file automatically whenever the author runs "Makefile.PL". On the user side it does nothing. When "make distclean" is invoked by the author, the "LICENSE" is removed. The appropriate license to determined from the meta provided with the "license" command and the holder of the license from the "author" command. Software::License is used to generate the "LICENSE" file. COMMANDS
This plugin adds the following Module::Install command: "auto_license" Does nothing on the user-side. On the author-side it will generate a "LICENSE" file according to the previously supplied "license" command. The "holder" of the license is determined from the "author" meta or may be specified using the "holder" parameter. auto_license( holder => 'Vestan Pants and Ivor Biggun' ); It is important to note that the "auto_license" must follow "author" and "license" commands in the "Makefile.PL" ( as demonstrated in the SYNOPSIS above ), otherwise the meta these commands provide will be unavailable to "auto_license". Call it a feature. AUTHOR
Chris "BinGOs" Williams LICENSE
Copyright X Chris Williams This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details. SEE ALSO
Module::Install Software::License perl v5.14.2 2010-04-30 Module::Install::AutoLicense(3pm)
Man Page