Skip to content

Commit

Permalink
ref #12 - fix regexp on CGI::VERSION
Browse files Browse the repository at this point in the history
replace crappy regexp with an equally crappy regexp (that works on
this occasion)
  • Loading branch information
leejo committed Mar 8, 2015
1 parent 8dd3c99 commit a44da92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/CGI/Fast.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion t/009_imports.t
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit a44da92

Please sign in to comment.