X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FGetopt%2FSession.pm;fp=lib%2FMooseX%2FGetopt%2FSession.pm;h=bdb0417600bc75f71404ca64e2ff7a885d3b31e0;hb=10ed52cb080cfbe757fdb2a4c7ceb463fba93e6c;hp=3359f9a95c21481ed7cc15269a3ced42fc394ce5;hpb=d09046450c54b37640fed28a06a17b7d040ba81a;p=gitmo%2FMooseX-Getopt.git diff --git a/lib/MooseX/Getopt/Session.pm b/lib/MooseX/Getopt/Session.pm index 3359f9a..bdb0417 100644 --- a/lib/MooseX/Getopt/Session.pm +++ b/lib/MooseX/Getopt/Session.pm @@ -23,13 +23,6 @@ has classes_filter => ( 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', @@ -171,11 +164,6 @@ searching proper classes to create options list. The filter passes any class by default but L will search the attributes only in own class, if new session is created implicity. -=item B - -This accessor contains the parameters which will be included to each -L->new_with_options call. - =item B This accessor contains a reference to a copy of the C<@ARGV> array as it @@ -189,8 +177,9 @@ un-mangled. =item B -This accessor contains an arrayref of options parsed from command line -by L. +This accessor contains an arrayref of options parsed from command line by +L. If the options list are not empty before parsing +the command line, the old list will be included to new list. =item B