Drop versions from "use HTML::Template"s to work around 2.x -> 2.10 issues.
authorVille Skyttä <ville.skytta@iki.fi>
Tue, 30 Aug 2011 21:15:15 +0300
changeset 3250 c169659cd902
parent 3249 d43a84ee9844
child 3251 843b8377c093
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
httpd/cgi-bin/check
httpd/cgi-bin/sendfeedback.pl
misc/docs_errors.pl
--- 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();
--- 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);
--- 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);