X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FGetopt%2FBasic.pm;h=316b15cb1adb5641c64214601758ad4a72365546;hb=4f214b88269f6b81131825e5f3571d35b2609ee3;hp=e2d27404d7ddc2697539bb7715d10f2940d216e3;hpb=60321fa1aa5b3c94e62c54b70e8c74e3b7e675b0;p=gitmo%2FMooseX-Getopt.git diff --git a/lib/MooseX/Getopt/Basic.pm b/lib/MooseX/Getopt/Basic.pm index e2d2740..316b15c 100644 --- a/lib/MooseX/Getopt/Basic.pm +++ b/lib/MooseX/Getopt/Basic.pm @@ -9,8 +9,6 @@ use Carp (); use Getopt::Long (); -our $VERSION = '0.25'; - has ARGV => (is => 'rw', isa => 'ArrayRef', metaclass => "NoGetopt"); has extra_argv => (is => 'rw', isa => 'ArrayRef', metaclass => "NoGetopt"); @@ -145,7 +143,7 @@ sub _traditional_spec { foreach my $opt ( @{ $params{options} } ) { push @options, $opt->{opt_string}; - my $identifier = lc($opt->{name}); + my $identifier = $opt->{name}; $identifier =~ s/\W/_/g; # Getopt::Long does this to all option names $name_to_init_arg{$identifier} = $opt->{init_arg};