package MooseX::Getopt::ProcessedArgv; BEGIN { $MooseX::Getopt::ProcessedArgv::AUTHORITY = 'cpan:STEVAN'; } { $MooseX::Getopt::ProcessedArgv::VERSION = '0.40'; } use Moose; # ABSTRACT: MooseX::Getopt::ProcessedArgv - Class containing the results of process_argv has 'argv_copy' => (is => 'ro', isa => 'ArrayRef'); has 'extra_argv' => (is => 'ro', isa => 'ArrayRef'); has 'usage' => (is => 'ro', isa => 'Maybe[Object]'); has 'constructor_params' => (is => 'ro', isa => 'HashRef'); has 'cli_params' => (is => 'ro', isa => 'HashRef'); no Moose; __PACKAGE__->meta->make_immutable(); 1; __END__ =pod =encoding utf-8 =head1 NAME MooseX::Getopt::ProcessedArgv - MooseX::Getopt::ProcessedArgv - Class containing the results of process_argv =head1 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(); =head1 DESCRIPTION This object contains the result of a L call. It contains all the information that L uses when calling new. =head1 METHODS =head2 argv_copy Reference to a copy of the original C<@ARGV> array as it originally existed at the time of C. =head2 extra_arg Arrayref of leftover C<@ARGV> elements that L did not parse. =head2 usage Contains the L object (if L is used). =head2 constructor_params Parameters passed to process_argv. =head2 cli_param Command-line parameters parsed out of C<@ARGV>. =head1 AUTHORS =over 4 =item * Stevan Little =item * Brandon L. Black =item * Yuval Kogman =item * Ryan D Johnson =item * Drew Taylor =item * Tomas Doran =item * Florian Ragwitz =item * Dagfinn Ilmari Mannsåker =item * Ævar Arnfjörð Bjarmason =item * Chris Prather =item * Karen Etheridge =item * Jonathan Swartz =back =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2012 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. =cut