default => sub { sub { 1 } },
);
-# Explicite parameters for new_with_options
-has params => (
- is => 'rw',
- isa => 'HashRef',
- default => sub { {} },
-);
-
# Original @ARGV values
has ARGV => (
is => 'rw',
class by default but L<MooseX::Getopt> will search the attributes only
in own class, if new session is created implicity.
-=item B<params>
-
-This accessor contains the parameters which will be included to each
-L<MooseX::Getopt>->new_with_options call.
-
=item B<ARGV>
This accessor contains a reference to a copy of the C<@ARGV> array as it
=item B<options>
-This accessor contains an arrayref of options parsed from command line
-by L<MooseX::Getopt::Parser>.
+This accessor contains an arrayref of options parsed from command line by
+L<MooseX::Getopt::Parser>. If the options list are not empty before parsing
+the command line, the old list will be included to new list.
=item B<BUILD>