From: Yuval Kogman Date: Tue, 22 Jan 2008 14:27:21 +0000 (+0000) Subject: ARGV and extra_argv should be nogetopt X-Git-Tag: 0_10^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8f95e21d4cf1c882029676e71cebba352d7571a2;p=gitmo%2FMooseX-Getopt.git ARGV and extra_argv should be nogetopt --- diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index 1f40e00..ea7642c 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -12,8 +12,8 @@ use constant HAVE_GLD => not not eval { require Getopt::Long::Descriptive }; our $VERSION = '0.09'; our $AUTHORITY = 'cpan:STEVAN'; -has ARGV => (is => 'rw', isa => 'ArrayRef', documentation => "hidden"); -has extra_argv => (is => 'rw', isa => 'ArrayRef', documentation => "hidden"); +has ARGV => (is => 'rw', isa => 'ArrayRef', metaclass => "NoGetopt"); +has extra_argv => (is => 'rw', isa => 'ArrayRef', metaclass => "NoGetopt"); sub new_with_options { my ($class, @params) = @_;