markup-validator commit: Drop versions from "use HTML::Template"s to work around 2.x -> 2.10 issues.

changeset:   3250:c169659cd902
tag:         tip
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Tue Aug 30 21:15:15 2011 +0300
files:       httpd/cgi-bin/check httpd/cgi-bin/sendfeedback.pl misc/docs_errors.pl
description:
Drop versions from "use HTML::Template"s to work around 2.x -> 2.10 issues.

https://rt.cpan.org/Public/Bug/Display.html?id=70190


diff -r d43a84ee9844 -r c169659cd902 httpd/cgi-bin/check
--- a/httpd/cgi-bin/check	Wed Aug 24 00:50:01 2011 +0300
+++ b/httpd/cgi-bin/check	Tue Aug 30 21:15:15 2011 +0300
@@ -53,7 +53,9 @@
 use HTML::Encoding 0.52 qw();
 use HTML::HeadParser 3.60 qw();    # Needed for HTML5 meta charset workaround
 use HTML::Parser 3.24 qw();        # Need 3.24 for $p->parse($code_ref)
-use HTML::Template 2.6 qw();       # Need 2.6 for path param, other things.
+use HTML::Template qw();           # Need 2.6 for path param, other things.
+                                   # Specifying 2.6 would break with 2.10,
+                                   # rt.cpan.org#70190
 use HTTP::Headers::Util qw();
 use HTTP::Message 1.52 qw();       # Need 1.52 for decoded_content()
 use HTTP::Request qw();
diff -r d43a84ee9844 -r c169659cd902 httpd/cgi-bin/sendfeedback.pl
--- a/httpd/cgi-bin/sendfeedback.pl	Wed Aug 24 00:50:01 2011 +0300
+++ b/httpd/cgi-bin/sendfeedback.pl	Tue Aug 30 21:15:15 2011 +0300
@@ -10,7 +10,7 @@
 
 use CGI qw();
 use File::Spec::Functions qw(catfile);
-use HTML::Template 2.6 qw();
+use HTML::Template qw();          # Need 2.6 but can't say, rt.cpan.org#70190
 use Config::General 2.32 qw();    # Need 2.32 for <msg 0>, rt.cpan.org#17852
 
 use vars qw($DEBUG $CFG %RSRC $VERSION);
diff -r d43a84ee9844 -r c169659cd902 misc/docs_errors.pl
--- a/misc/docs_errors.pl	Wed Aug 24 00:50:01 2011 +0300
+++ b/misc/docs_errors.pl	Tue Aug 30 21:15:15 2011 +0300
@@ -10,7 +10,7 @@
 ## Modules.  See also the BEGIN block further down below.
 
 use File::Spec::Functions qw(catfile);
-use HTML::Template 2.6 qw();
+use HTML::Template qw();          # Need 2.6 but can't say, rt.cpan.org#70190
 use Config::General 2.32 qw();    # Need 2.32 for <msg 0>, rt.cpan.org#17852
 
 use vars qw($DEBUG $CFG $VERSION);

Received on Tuesday, 30 August 2011 18:15:30 UTC