Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] Soaplite with mod_perl 1.99

Expand Messages
  • Paul Kulchenko
    Hi Josh and Zaid, ... 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
    Message 1 of 3 , Dec 8, 2002
    • 0 Attachment
      Hi Josh and Zaid,

      --- Josh Narins <josh_narins@...> wrote:
      > 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
      %{"Apache::Const::"};

      or something simimlar in your code.

      Best wishes, Paul.

      __________________________________________________
      Do you Yahoo!?
      Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
      http://mailplus.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.