projects
/
gitmo/MooseX-Getopt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
* MooseX::Getopt::Parser::Descriptive: fixed regression: does not require CLI param...
[gitmo/MooseX-Getopt.git]
/
lib
/
MooseX
/
Getopt
/
Session.pm
diff --git
a/lib/MooseX/Getopt/Session.pm
b/lib/MooseX/Getopt/Session.pm
index
81f4b26
..
60f496c
100644
(file)
--- a/
lib/MooseX/Getopt/Session.pm
+++ b/
lib/MooseX/Getopt/Session.pm
@@
-26,6
+26,13
@@
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',