Skip Menu |

This queue is for tickets about the HTML-Template CPAN distribution.

Report information
The Basics
Id: 123100
Status: new
Priority: 0/
Queue: HTML-Template

People
Owner: Nobody in particular
Requestors: PERLMAX [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: wish: Remove CGI from PREREQ_PM in Makefile.PL
Hello Sam Tregar, Thank you very much for maintaining HTML::Template. I really like this module very much!! I suggest to remove CGI from PREREQ_PM and to put it into TEST_REQUIRES (see the attached patch). As I noticed, for running HTML::Template CGI is not necessary. To the contrary HTML::Template works wonderful with CGI, Plack, CGI::Simple and so on... As CGI requires a compiler (for HTML::Parser), removing it from PREREQ_PM is helpful for some web hosting environments where the user has no compiler, too. Thanks in advance, Max
Subject: HTML-Template.patch
--- ./Makefile.PL 2017-09-21 22:03:43.488070346 +0200 +++ ./Makefile_Patch.PL 2017-09-21 22:10:54.324088270 +0200 @@ -16,7 +16,6 @@ my %WriteMakefileArgs = ( "LICENSE" => "perl", "NAME" => "HTML::Template", "PREREQ_PM" => { - "CGI" => 0, "Carp" => 0, "Digest::MD5" => 0, "File::Spec" => "0.82", @@ -25,7 +24,8 @@ my %WriteMakefileArgs = ( "TEST_REQUIRES" => { "File::Temp" => 0, "Test::More" => 0, - "Test::Pod" => 0 + "Test::Pod" => 0, + "CGI" => 0 }, "VERSION" => "2.97", "test" => {