Revision history for Perl extension MooseX-Getopt
+ * MooseX::Getopt::Basic
+ - Fix bug with attribute names containing upper case letters.
+
0.25 Thu. Nov 26 2009
* MooseX::Getopt
- Split out the warnings and the exception from Getopt so that they can be
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};