diff --git a/Changes b/Changes index d169cb2..68186d2 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ Revision history for CGI::Fast -2.08 2015-03-08 +2.09 2015-03-08 [DOCUMENTATION] - Clarify order of use statements when using both CGI and CGI::Fast - Replace indirect object notation with ->new diff --git a/lib/CGI/Fast.pm b/lib/CGI/Fast.pm index dc3fa40..9ea7d5d 100644 --- a/lib/CGI/Fast.pm +++ b/lib/CGI/Fast.pm @@ -13,7 +13,7 @@ local $^W = 1; # wish, but if you redistribute a modified version, please attach a note # listing the modifications you have made. -$CGI::Fast::VERSION='2.08'; +$CGI::Fast::VERSION='2.09'; use CGI; use FCGI; diff --git a/t/009_imports.t b/t/009_imports.t index 893a8bd..220269b 100644 --- a/t/009_imports.t +++ b/t/009_imports.t @@ -11,7 +11,7 @@ my $cgi_version = $CGI::VERSION; if ( ! $cgi_version ) { plan skip_all => "Couldn't figure out CGI version"; } else { - $cgi_version =~ s/\D.*$//; + $cgi_version =~ s/\.(\d+)\D.*$/.$1/; } if ( $cgi_version < 4.14 ) {