MooseX::Getopt::ProcessedArgv - MooseX::Getopt::ProcessedArgv - Class containing the results of process_argv



NAME

MooseX::Getopt::ProcessedArgv - MooseX::Getopt::ProcessedArgv - Class containing the results of process_argv


VERSION

version 0.68


SYNOPSIS

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


DESCRIPTION

This object contains the result of a process_argv in the MooseX::Getopt manpage call. It contains all the information that new_with_options in the MooseX::Getopt manpage 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 the Getopt::Long manpage did not parse.

usage

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

constructor_params

Parameters passed to process_argv.

cli_param

Command-line parameters parsed out of @ARGV.


AUTHOR

Stevan Little <stevan@iinteractive.com>


COPYRIGHT AND LICENSE

This software is copyright (c) 2007 by Infinity Interactive, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

 MooseX::Getopt::ProcessedArgv - MooseX::Getopt::ProcessedArgv - Class containing the results of process_argv