From: Chris Prather Date: Wed, 4 Jun 2008 15:18:44 +0000 (+0000) Subject: fix Float which doesn't exist with Num which does X-Git-Tag: 0_15~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=commitdiff_plain;h=d64acebb45741238355b2fb396dfaa30d1af393a fix Float which doesn't exist with Num which does --- diff --git a/ChangeLog b/ChangeLog index 95775ae..bcf6126 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ Revision history for Perl extension MooseX-Getopt +0.14 ??? + * MooseX::Getopt::OptionTypeMap + - Change 'Float' which doesn't exist to 'Num' which does (perigrin) + 0.13 Saturday, May 24, 2008 * MooseX::Getopt - Commandline option shouldn't be required in the diff --git a/lib/MooseX/Getopt/OptionTypeMap.pm b/lib/MooseX/Getopt/OptionTypeMap.pm index 9b94bcb..c9e1e05 100644 --- a/lib/MooseX/Getopt/OptionTypeMap.pm +++ b/lib/MooseX/Getopt/OptionTypeMap.pm @@ -11,7 +11,7 @@ my %option_type_map = ( 'Bool' => '!', 'Str' => '=s', 'Int' => '=i', - 'Float' => '=f', + 'Num' => '=f', 'ArrayRef' => '=s@', 'HashRef' => '=s%', );