MooseX::Getopt::ProcessedArgv(3pm)

MooseX::Getopt::ProcessedArgv3pm

Moosex::getopt::processedargv - class containing the results of process_argv

Usage

  use My::App;
  my $pa = My::App->process_argv(@params);
  my $argv_copy          = $pa->argv_copy();
  my $extra_argv         = $pa->extra_argv();
  my $usage              = $pa->usage();
  my $constructor_params = $pa->constructor_params();
  my $cli_params         = $pa->cli_params();

Version

version 0.78

Overview

This object contains the result of a "process_argv" in MooseX::Getopt call. It contains all the information that "new_with_options" in MooseX::Getopt uses when calling new.

Methods

argv_copy

Reference to a copy of the original @ARGV array as it originally existed at the time of "new_with_options".

extra_arg

Arrayref of leftover @ARGV elements that Getopt::Long did not parse.

usage

Contains the Getopt::Long::Descriptive::Usage object (if Getopt::Long::Descriptive is used).

constructor_params

Parameters passed to process_argv.

cli_param

Command-line parameters parsed out of @ARGV.

Support

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Getopt> (or [email protected] <mailto:[email protected]>).

There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>.

There is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12
  6. 13

Author

Stevan Little <[email protected]>

From libmoosex-getopt-perl 0.78-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.