12 Jul 2018 01:06:03 UTC
- Distribution: Module-Install-CustomInstallationPath
- Module version: 0.1048
- Source (raw)
- Browse (raw)
- How to Contribute
- Clone repository
- Issues (0)
- Testers (343 / 0 / 0)
- KwaliteeBus factor: 0
- 52.17% Coverage
- License: unknown
- Perl: v5.5.0
- Activity24 month
- Download (31.64KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionDCOPPIT David Coppit
Module::Install::CustomInstallationPath - A Module::Install extension that allows the user to interactively specify custom installation directories
In Makefile.PL: use inc::Module::Install; ... check_custom_installation();
This is a Module::Install extension that helps users who do not have root access to install modules. It first prompts the user for a normal installation into the default Perl paths, or a custom installation. If the user selects a custom installation, it prompts the user for the value for PREFIX. This value is then used to add PREFIX=value to @ARGV.
If the user specifies PREFIX or INSTALLDIRS as arguments to Makefile.PL, then the prompts are skipped and a normal installation is done.
Consider carefully whether you want to use this module. In my experience, many people don't want an interactive installation. For example, CPAN users have likely already thought about custom installation paths. Debian package maintainers also want non-interactive installs.
Imported into Makefile.PL by Module::Install when invoked. This causes the prompts to be displayed and @ARGV to be updated (if necessary).
This code is distributed under the GNU General Public License (GPL) Version 2. See the file LICENSE in the distribution for details.
David Coppit <firstname.lastname@example.org>
Module Install Instructions
To install Module::Install::CustomInstallationPath, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Module::Install::CustomInstallationPath
For more information on module installation, please visit the detailed CPAN module installation guide.