Module:...::Admin(3)
πΈ NAME πΈ
okay so this is the Module:...::Admin(3) page β user-contributed Perl documentation, bestie β and the module is Module::Install::Admin - Author-side manager for Module::Install. π
β¨ SYNOPSIS β¨
So you're inside a Module::Install extension module, and it looks like this:
sub extension_method {
my $self = shift;
$self->admin->some_method(@args);
}
And as a one-liner, you can do this:
% perl "-MModule::Install::Admin" -e'&some_method(@args);'
Both 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 it 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: π¦
- First,
Module/Install.pmis POD-stripped and copied from@INCtoinc/. This should only happen on the author's side, never on the end-user side. π - Reload
inc/Module/Install.pmif the current file is somewhere else. This ensures that the included version ofinc/Module/Install.pmis always preferred over the installed version. π₯ - Look at
inc/Module/Install/*.pmand load all of them. π - Set up a
main::AUTOLOADfunction to delegate missing function calls toModule::Install::Admin::loadβ again, this should only happen at the author's side. π - Provide a
Module::Install::purge_selffunction for removing included files underinc/. π
π METHODS π
The original page has this heading and thenβ¦ nothing under it before SEE ALSO. Not me skipping it, bestie β it's just empty in the source. It's giving placeholder energy. π
π¦ SEE ALSO π¦
Module::Installβ that's the one, bestie. π
π 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> β
okay that's the whole page, bestie! π This was perl v5.42.0, dated 2023-04-29, and the manual name is Module:...::Admin(3) β go forth and manage your author-side extensions! π«Άβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Module-Install 1.21-bp160.1.12 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms