Nikolaus Rath wrote: > 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.
When reporting problems you *must* provide the information about your environment and used version as explained here: http://perl.apache.org/release/docs/1.0/guide/help.html#How_to_Report_Problems I believe that this particular problem has been solved in the recent mod_perl versions. -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com