On Today at 9:46am, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote:

SB> 
SB> Actually it was Sunday (future!) and it's winter (past?) here in
SB> Melbourne ;)

I figured we were a few continents away.

SB> 
SB> Then, if it's indeed your globally installed Apache::Filter and not
SB> the local one, dump @INC (in the same place) to see whether the global
SB> path comes before the local one.
SB> 

Apache::Filter is indeed the globally installed one as evidenced by:

Apache::Filter 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache2/Apache/Filter.pm 
at /home/haroon/src/build/modperl-2.0/t/filter/TestFilter/in_init_basic.pm 
line 15.

Here's what @INC looks like:

/home/haroon/src/build/modperl-2.0/Apache-Test/lib
/home/haroon/src/build/modperl-2.0/lib
/home/haroon/src/build/modperl-2.0/t/response
/home/haroon/src/build/modperl-2.0/t/protocol
/home/haroon/src/build/modperl-2.0/t/preconnection
/home/haroon/src/build/modperl-2.0/t/hooks
/home/haroon/src/build/modperl-2.0/t/filter
/home/haroon/src/build/modperl-2.0/t
/home/haroon/src/build/modperl-2.0/t/htdocs/testdirective/perlmodule-vh
/home/haroon/src/build/modperl-2.0/t/htdocs/testdirective/main
/home/haroon/src/build/modperl-2.0/t/
/home/haroon/src/build/modperl-2.0/t/lib/perl
/home/haroon/src/build/modperl-2.0/blib/lib
/home/haroon/src/build/modperl-2.0/blib/arch
Apache-Test/lib
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Apache2
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl  at 
/home/haroon/src/build/modperl-2.0/t/filter/TestFilter/in_init_basic.pm 
line 16.

I used the following diff to gather this diagnostic output:
===================================================================
--- t/filter/TestFilter/in_init_basic.pm        9 May 2003 03:33:37 -0000      
1.2
+++ t/filter/TestFilter/in_init_basic.pm        10 Jun 2003 14:46:33 -0000
@@ -11,6 +11,11 @@
 
 use base qw(Apache::Filter);
 
+BEGIN {
+    warn "Apache::Filter $INC{'Apache/Filter.pm'}";
+    warn join "\n", @INC;
+}
+
 use Apache::Const -compile => qw(OK M_POST);
 
 use constant READ_SIZE  => 1024;


What's next to try?
--
Haroon Rafique
<[EMAIL PROTECTED]>

Reply via email to