See
TWiki:Support.SID-02289
: Apparently
TWiki:Plugin.CgiContrib
has no chance to fix the notorious problem of missing CGI for Red Hat users.
The TWiki scripts like
view
use
CGI::Carp
in a
BEGIN
block
before setlib.cfg
is called. So, CgiContrib is in time for CGI itself, but fails for CGI::Carp.
We should have seen this coming
--
TWiki:Main/HaraldJoerg
- 2017-01-11
I set priority to urgent because Red Hat/CentOS is popular.
--
TWiki:Main.PeterThoeny
- 2017-01-19
I am sure that it is worthwhile to check the hint I found in Dave Cross' article (
http://perlhacks.com/2015/12/long-death-cgi-pm/
) to
yum install perl-core
. I am not familiar with Red Hat, but I urgently hope that their package matches their Perl version, so for all Perl versions up to and including 5.20 we are safe. That would be the preferred solution for everyone on Red Hat who has root access, easier to perform and easier for lifecycle management than installing from CPAN. Unfortunately I failed to find a list of modules or module versions in
perl-core
in the internet, but probably I am looking in the wrong places.
On the other hand, postponing the load time of
CGI::Carp
doesn't look too difficult, so we could ship it before Red Hat switches to Perl 5.22.
--
TWiki:Main.HaraldJoerg
- 2017-01-20
My bad memories made me open another bug item
Item7796 for this issue, which should be fixed now (only I don't have a Red Hat system running here).
So I guess I can set this one to "No action required"? --
TWiki:Main.HaraldJoerg
- 2017-01-25