-
-
31 Jul 2018 16:36:35 UTC
- Distribution: ExtUtils-ModuleMaker
- Module version: 0.63
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (878 / 4 / 0)
- Kwalitee
Bus factor: 1- 92.46% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (133.22KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Data::Dumper
- File::Basename
- File::HomeDir
- File::Path
- Getopt::Long
- Getopt::Std
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
ExtUtils::ModuleMaker::Opts - Process command-line options for modulemaker
SYNOPSIS
use ExtUtils::ModuleMaker::Opts; $eumm_package = q{ExtUtils::ModuleMaker}; $eumm_script = q{modulemaker}; $opt = ExtUtils::ModuleMaker::Opts->new( $eumm_package, $eumm_script, ); $mod = ExtUtils::ModuleMaker::Interactive->new( $opt->get_standard_options() );
DESCRIPTION
The methods in this package provide processing of command-line options for modulemaker, the command-line utility associated with Perl extension ExtUtils::ModuleMaker, and for similar utilities associated with Perl extensions which subclass ExtUtils::ModuleMaker.
METHODS
new()
Usage : $opt = ExtUtils::ModuleMaker::Opts->new($package,$script) from inside a command-line utility such as modulemaker Purpose : Creates an ExtUtils::ModuleMaker::Opts object Returns : An ExtUtils::ModuleMaker::Opts object Argument : Two arguments: 1. String holding 'ExtUtils::ModuleMaker' or a package subclassed therefrom, e.g., 'ExtUtils::ModuleMaker::PBP'. 2. String holding 'modulemaker' or the name of a command-line utility similar to 'modulemaker' and found in the 'scripts/' directory of the distribution named in argument 1
get_standard_options()
Usage : %standard_options = $opt->get_standard_options from inside a command-line utility such as modulemaker Purpose : Provide arguments to ExtUtils::ModuleMaker::Interactive::new() or to the constructor of the 'Interactive' package of a distribution subclassing ExtUtils::ModuleMaker Returns : A hash suitable for passing to ExtUtils::ModuleMaker::Interactive::new() or similar constructor Argument : n/a
SEE ALSO
ExtUtils::ModuleMaker, modulemaker, ExtUtils::ModuleMaker::Interactive, ExtUtils::ModuleMaker::PBP, mmkrpbp.
Module Install Instructions
To install ExtUtils::ModuleMaker, copy and paste the appropriate command in to your terminal.
cpanm ExtUtils::ModuleMaker
perl -MCPAN -e shell install ExtUtils::ModuleMaker
For more information on module installation, please visit the detailed CPAN module installation guide.