summaryrefslogtreecommitdiffstats
path: root/httpd
diff options
context:
space:
mode:
authorVille Skytt? <ville.skytta@iki.fi>2011-08-30 21:15:15 +0300
committerVille Skytt? <ville.skytta@iki.fi>2011-08-30 21:15:15 +0300
commit5bd2b21cd499dc8ea68becee78e84ef98e6a2f0b (patch)
tree433e2b8301a6b5689221e73db979b58e4444d722 /httpd
parent9bd3e5b2bfb2bb17de64db8cc0e14dcdb279cfe8 (diff)
downloadmarkup-validator-5bd2b21cd499dc8ea68becee78e84ef98e6a2f0b.zip
markup-validator-5bd2b21cd499dc8ea68becee78e84ef98e6a2f0b.tar.gz
markup-validator-5bd2b21cd499dc8ea68becee78e84ef98e6a2f0b.tar.bz2
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
Diffstat (limited to 'httpd')
-rwxr-xr-xhttpd/cgi-bin/check4
-rwxr-xr-xhttpd/cgi-bin/sendfeedback.pl2
2 files changed, 4 insertions, 2 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index baaec2b..534b061 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -53,7 +53,9 @@ use File::Spec::Functions qw(catfile rel2abs tmpdir);
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 --git a/httpd/cgi-bin/sendfeedback.pl b/httpd/cgi-bin/sendfeedback.pl
index ab639ec..656af7e 100755
--- a/httpd/cgi-bin/sendfeedback.pl
+++ b/httpd/cgi-bin/sendfeedback.pl
@@ -10,7 +10,7 @@ use warnings;
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);