CgiContrib Feedback and Development
--
Harald Jörg - 2015-10-28
Thank you Harald for contributing this useful extension! It will reduce some headaches when installing TWiki on newer OSes.
--
Peter Thoeny - 2015-10-28
Today I saw my first Debian Jessie, with Perl 5.20, bundled with CGI 4.09. With CgiContrib, TWiki was supposed to override the system's CGI library, which works for most of TWiki, but
it doesn't work not for configure.
In TWiki 6.0.1, the
configure script does not read
setlib.cfg before trying to
use CGI, therefore it catches the "bad" system version 4.09 before TWiki's own libraries get precedence, and breaks with the notorious
CGI::param called in list context.
So, Peter's change to
configure in November, contained in 6.0.2, is
required for Debian Jessie. TWiki 6.0.1 will not work, not even with
CgiContrib installed.
I think this should be noted in
KnownIssuesOfTWiki06x00, so that Debian users upgrade their TWiki before they switch over to Jessie.
--
Harald Jörg - 2016-02-03
I finally started migrating my TWiki to a perl version not having CGI bundled and realized that CGI::Fast is needed in
CgiContrib to use Fast CGI. May I add lib/CGI/Fast.pm?
--
Hideyo Imazu - 2019-12-04
I guess it doesn't hurt to add it. On the other hand, it isn't
urgent: CGI::Fast is not affected by the incompatible changes in
CGI.pm, so unlike with CGI, there's no problem when users pick it from either
CPAN or their distribution. Also, CGI::Fast is using
CPAN:FCGI
, and FCGI can not be bundled: It contains XS components, so it must be compiled with the correct library versions for the target platform.
I have no strong opinions: I have never used FCGI, and I also have migrated my own installation to PSGI.
--
Harald Jörg - 2019-12-04
Harald, you are right. Adding lib/CGI/Fast.pm to
CgiContrib is not so helpful and may misguide people. I'm retracting my proposal.
--
Hideyo Imazu - 2019-12-05