> >>Try:
> >>
> >>perl -le 'use warnings; use strict; use Apache2::Const; print
> >>Apache2::Const::OK'
> >>0
> >>
> >>Apache2::Const is one of the modules which will happily run from the
> >>command line.
> >>
> >>Please CC me in your replies to the list so we won't have to wait for 8
> >>hours to see your reply. emails are served with a huge delay since a few 
> >>days.
> >
> >
> > I get:
> >
> > 0
> 
> Good.
> 
> > A weird thing:  I'm getting those same bareword errors in error_log
> > but I haven't even updated Interchange::Link yet.  That module doesn't
> > say "Apache2::Const:OK" anywhere in it and I'm still getting the same
> > error.
> 
> That means that you
> - either still have pre-mp2-RC5 Apache2/Const somewhere.
> - or the code that uses it didn't compile that constant. i.e., you (or
> whoever wrote it) didn't do:
> 
>    use Apache2::Const -compile => 'OK';
> 
> before using it.

I replaced:

use Apache::Const;

with:

use Apache2::Const -compile => 'OK';

in Link.pm with the same results.  How can I find out if I have an old
Apache2/Const?  I definitely only have these on the system:

/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Apache2/Const
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Apache2/Const/Const.so
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/auto/Apache2/Const/Const.bs
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux/Apache2/Const.pm

- Grant

Reply via email to