From: Karen Etheridge Date: Sat, 22 Dec 2012 07:35:27 +0000 (-0800) Subject: As of v0.36, there is a hook to change this X-Git-Tag: v0.48~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=edd79c6fb9ebccd48ac7e3fec200468004fe6f5e;p=gitmo%2FMooseX-Getopt.git As of v0.36, there is a hook to change this --- diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index c236113..6ad6e1c 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -222,9 +222,9 @@ un-mangled. B: By default, L will reject unrecognized I (that is, options that do not correspond with attributes using the Getopt -trait). To disable this, and allow options to also be saved in C (for example to pass along to another class's C), enable the -C option of L for your class: C +trait). To disable this, and allow options to also be saved in C (for example to pass along to another class's C), you can either enable the +C option of L for your class: C<< use Getopt::Long +qw(:config pass_through); >> or specify a value for for L's C parameter. =method B