Hallo!

Is it possible that PerlModule doesn't modify %INC?

With PerlModule CGI in the Apache configuration, all scripts with "use
CGI" produce warnings like:

Subroutine put redefined at /usr/lib/perl5/5.6.1/CGI.pm line 517.
Subroutine print redefined at /usr/lib/perl5/5.6.1/CGI.pm line 523.
Subroutine cgi_error redefined at /usr/lib/perl5/5.6.1/CGI.pm line 529.
Subroutine save_request redefined at /usr/lib/perl5/5.6.1/CGI.pm line
[..]

in the server log. (use strict and use warnings are active). Without
PerlModule, all scripts run without warnings.

And even with

<Perl>
use CGI;
</Perl>

everything works fine.

The CGI module is only an example. I have similar problems with
several other modules.

Any ideas?

   --Nikolaus

Reply via email to