Hi Josh and Zaid,
--- Josh Narins <josh_narins@...
> In 2.0, Apache::Constants has been replaced with Apache::Const.
> You need something like
> use Apache::Const qw(OK);
> in your script.
Actually you need more than that. Because Apache.pm is loaded with
require rather than use (run-time vs. compile-time) there is no
access to OK constant and call to Apache::Constants::OK is used
instead. Apache::compat emulates Apache::Constants, however it
doesn't do full emulation. You may need to do:
*Apache::Constants::OK = \&Apache::Const::OK if defined
or something simimlar in your code.
Best wishes, Paul.
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.