Grant wrote:
Ok I did everything including uninstalling 1.99.17 but I'm getting this error:

Bareword "Apache2::Const::OK" not allowed while "strict subs" in use

I guess that means it wasn't fully uninstalled? How can I check on that?

No, if it wasn't installed, you would have not been able to load the Apache2::Const module.

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.



--
__________________________________________________________________
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

Reply via email to