We've just started using StatINC on our staging server, and it's
slowed things down quite a bit, true to the docs. I've been trying
to pare down @INC with little success. My startup.pl script begins:
BEGIN: {
use Apache ();
no lib qw(:ALL
'/web/home/apache/'
'/web/home/apache/lib'
'/web/home/apache/lib/perl');
use lib Apache->server_root_relative('lib');
}
yet scripts running under mod_perl still report:
/web/home/apache/lib
/web/home/apache/lib
/usr/local/lib/perl5/5.00503/sun4-solaris
/usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005
.
/web/home/apache/
/web/home/apache/lib/perl
Note the duplicate entries, plus entries that should have been
deleted altogether. Is there a syntax I'm missing?
________________________________________
Eamon Daly
FastWeb, Inc.
847 568 6410