DuzySoft::Build::Configure::Options - Parses, validates and keeps the command line options.
use DuzySoft::Build::Configure::Options; my $options = new DuzySoft::Build::Configure::Options; my @valid_options = @{ $options->valid_options }; exit(1) unless $options->process( @ARGV ); # There will be an guarantee that all options are valid till now. my $prefix_path = $options->get( 'prefix' );
This module parses the command line parameters specificed to the configuration script, and verifies the validation of the parameters, show usage screen if failed on validation.
This module has no import/export symbols;
new()
Constructes an DuzySoft::Build::Configure::Options, returns an object of it.
process()
Complete the parsing and validating procedure, it will print a usage text screen, and details all configure options.
get()
Retrieves the specified option value.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
=over without closing =back
To install DuzySoft::Build::Configure, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DuzySoft::Build::Configure
CPAN shell
perl -MCPAN -e shell install DuzySoft::Build::Configure
For more information on module installation, please visit the detailed CPAN module installation guide.