1
I'm trying to run a perlscript as a cgi-Script. However including the cgi-library of perl doesn't work: # perl -e 'use CGI::Carp qw(fatalsToBrowser);' Can't locate CGI/Carp.pm in @INC (you may need to install the CGI::Carp module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. # On an old server the same command does not produce an error message and cgi scripts run properly. This seems to be a perl-problem, not an Apache problem. On my servcer Carp.pm is already installed in one of the paths given ...