Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

inc::module::install(3pm) [debian man page]

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

NAME
inc::Module::Install - Module::Install configuration system SYNOPSIS
use inc::Module::Install; DESCRIPTION
This module first checks whether the inc/.author directory exists, and removes the whole inc/ directory if it does, so the module author always get a fresh inc every time they run Makefile.PL. Next, it unshifts "inc" into @INC, then loads Module::Install from there. Below is an explanation of the reason for using a loader module: The original implementation of CPAN::MakeMaker introduces subtle problems for distributions ending with "CPAN" (e.g. CPAN.pm, WAIT::Format::CPAN), because its placement in ./CPAN/ duplicates the real libraries that will get installed; also, the directory name ./CPAN/ may confuse users. On the other hand, putting included, for-build-time-only libraries in ./inc/ is a normal practice, and there is little chance that a CPAN distribution will be called "Something::inc", so it's much safer to use. Also, it allows for other helper modules like Module::AutoInstall to reside also in inc/, and to make use of them. AUTHORS
Audrey Tang <autrijus@autrijus.org> COPYRIGHT
Copyright 2003, 2004 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.14.2 2012-03-01 inc::Module::Install(3pm)

Check Out this Related Man Page

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

NAME
Module::Install::Bundle - Bundle distributions along with your distribution SYNOPSIS
Have your Makefile.PL read as follows: use inc::Module::Install; name 'Foo-Bar'; all_from 'lib/Foo/Bar.pm'; requires 'Baz' => '1.60'; # one of either: bundle 'Baz' => '1.60'; # OR: auto_bundle; WriteAll; DESCRIPTION
Module::Install::Bundle allows you to bundle a CPAN distribution within your distribution. When your end-users install your distribution, the bundled distribution will be installed along with yours, unless a newer version of the bundled distribution already exists on their local filesystem. While bundling will increase the size of your distribution, it has several benefits: Allows installation of bundled distributions when CPAN is unavailable Allows installation of bundled distributions when networking is unavailable Allows everything your distribution needs to be packaged in one place Bundling differs from auto-installation in that when it comes time to install, a bundled distribution will be installed based on the distribution bundled with your distribution, whereas with auto-installation the distibution to be installed will be acquired from CPAN and then installed. METHODS
o auto_bundle() Takes no arguments, will bundle every distribution specified by a "requires()". When you, as a module author, do a "perl Makefile.PL" the latest versions of the distributions to be bundled will be acquired from CPAN and placed in inc/BUNDLES/. o bundle($name, $version) Takes a list of key/value pairs specifying a distribution name and version number. When you, as a module author, do a perl Makefile.PL the distributions that you specified with "bundle()" will be acquired from CPAN and placed in inc/BUNDLES/. o bundle_deps($name, $version) Same as "bundle", except that all dependencies of the bundled modules are also detected and bundled. To use this function, you need to declare the minimum supported perl version first, like this: perl_version( '5.005' ); o auto_bundle_deps Same as "auto_bundle", except that all dependencies of the bundled modules are also detected and bundled. This function has the same constraints as bundle_deps. BUGS
Please report any bugs to (patches welcome): http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-Install AUTHORS
Audrey Tang <autrijus@autrijus.org> Documentation by Adam Foxson <afoxson@pobox.com> COPYRIGHT
Copyright 2003, 2004, 2005 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. perl v5.14.2 2012-03-01 Module::Install::Bundle(3pm)
Man Page