-
-
09 Mar 2020 21:14:20 UTC
- Distribution: CPANPLUS-Shell-Default-Plugins-Prereqs
- Module version: 0.14
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (205 / 6 / 0)
- Kwalitee
Bus factor: 1- 77.78% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (33.77KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Mark Grimes, E<lt>mgrimes@cpan.orgE<gt>
- Dependencies
- CPANPLUS
- File::Spec
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- EXAMPLE COMMAND LINES
- SUBROUTINES
- SEE ALSO
- THANKS
- TODO
- AUTHOR
- COPYRIGHT AND LICENSE
NAME
CPANPLUS::Shell::Default::Plugins::Prereqs - Plugin for CPANPLUS to automate the installation of prerequisites without installing the module
VERSION
version 0.14
SYNOPSIS
use CPANPLUS::Shell::Default::Plugin::Prereqs; $ cpanp /prereqs <show|list|install> [Module|URL|dir]
DESCRIPTION
A plugin for CPANPLUS's default shell which will display and/or install any missing prerequisites for a module. The module can be specified by name, as a URL or path to the directory of an unpacked module. The plugin assumes the current directory if no module is specified.
EXAMPLE COMMAND LINES
The following would list any reprequsites found in the Build.PL or Makefile.PL for the
MyModule
module:$ cd MyModule $ cpanp /prereqs show .
Or you could just have given the module name, and
cpanp
will find the the module on CPAN:$ cpanp /prereqs show YAML
And of course you can install the prereqs:
$ cd MyModule $ cpanp /prereqs install .
SUBROUTINES
The module subroutines are primarily expected to be utilized by the
CPANPLUS
plugin infrasctructure.plugins
Reports the plugin routines provided by this module.
install_prereqs
Performs the reqrequsite listing or installation. Conforms to the
CPANPLUS::Shell::Default::Plugins::HOWTO
API.install_prereqs_help
Returns the short version documentation for the plugin.
SEE ALSO
CPANPLUS
,CPANPLUS::Shell::Default::Plugins::HOWTO
THANKS
Thanks to Jos Boumans for his excellent suggestions to improve both the plugin functionality and the quality of the code.
TODO
Add test for MakeMaker and Module::Install based modules. Add test for /prereq install. Split
install_prereqs
into multiple subroutines.AUTHOR
Mark Grimes, <mgrimes@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2020 by Mark Grimes, <mgrimes@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install CPANPLUS::Shell::Default::Plugins::Prereqs, copy and paste the appropriate command in to your terminal.
cpanm CPANPLUS::Shell::Default::Plugins::Prereqs
perl -MCPAN -e shell install CPANPLUS::Shell::Default::Plugins::Prereqs
For more information on module installation, please visit the detailed CPAN module installation guide.