The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DuzySoft::Build::Configure::Options - Parses, validates and keeps the command line options.

SYNOPSYS

    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' );

DESCRIPTION

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.

USAGE

Import Parameters

This module has no import/export symbols;

Methods

Constructor

  • 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:

Around line 71:

'=item' outside of any '=over'

Around line 89:

'=item' outside of any '=over'

=over without closing =back