From: Nelo Onyiah Date: Thu, 25 Jun 2009 23:56:21 +0000 (+0100) Subject: Applied patch to fix RT46200 X-Git-Tag: 0.21~6^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=44b487bcb43613274790602853c51ed134b6fd31;p=gitmo%2FMooseX-Getopt.git Applied patch to fix RT46200 --- diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index 790eb54..73fdbb0 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -55,7 +55,7 @@ sub new_with_options { $class->new( ARGV => $processed{argv_copy}, extra_argv => $processed{argv}, - @params, # explicit params to ->new + %$constructor_params, # explicit params to ->new %$params, # params from CLI ); }