Skip Menu |

This queue is for tickets about the MooseX-Getopt CPAN distribution.

Report information
The Basics
Id: 87780
Status: resolved
Priority: 0/
Queue: MooseX-Getopt

People
Owner: ether [...] cpan.org
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.56
Fixed in: 0.57



Subject: typo fixes
Subject: MooseX-Getopt.diff
diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index 364e507..1ca2f0e 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -224,7 +224,7 @@ B<Important>: By default, L<Getopt::Long> will reject unrecognized I<options> (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<extra_argv> (for example to pass along to another class's C<new_with_options>), you can either enable the C<pass_through> option of L<Getopt::Long> for your class: C<< use Getopt::Long -qw(:config pass_through); >> or specify a value for for L<MooseX::Getopt::GLD>'s C<getopt_conf> parameter. +qw(:config pass_through); >> or specify a value for L<MooseX::Getopt::GLD>'s C<getopt_conf> parameter. =method B<usage> diff --git a/lib/MooseX/Getopt/Meta/Attribute.pm b/lib/MooseX/Getopt/Meta/Attribute.pm index 70aaa61..fe53a14 100644 --- a/lib/MooseX/Getopt/Meta/Attribute.pm +++ b/lib/MooseX/Getopt/Meta/Attribute.pm @@ -56,7 +56,7 @@ now it works for those who might need such a feature. You should rarely need to explicitly set the attribute metaclass. It is much preferred to simply provide a trait (a role applied to the attribute -metaclass), which allows other code to futher modify the attribute by applying +metaclass), which allows other code to further modify the attribute by applying additional roles. Therefore, you should first try to do this: diff --git a/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm b/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm index c665950..094b690 100644 --- a/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm +++ b/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm @@ -42,7 +42,7 @@ metaclass. You should rarely need to explicitly set the attribute metaclass. It is much preferred to simply provide a trait (a role applied to the attribute -metaclass), which allows other code to futher modify the attribute by applying +metaclass), which allows other code to further modify the attribute by applying additional roles. Therefore, you should first try to do this:
Thanks, patch applied!
shipped in 0.57.