in reply to Re^3: CHECK and INIT under mod_perl
in thread CHECK and INIT under mod_perl

Is there an authoritative recipe available that would cover both running under MP1 and MP2, as well as a basic test harness? stvn and I have run into this with Class::LazyLoad and I know Ovid and liz have also run into problems with this ...

Replies are listed 'Best First'.
Re^5: CHECK and INIT under mod_perl
by perrin (Chancellor) on Apr 21, 2005 at 20:25 UTC
    To some degree, whether or not this will work for you depends on what you were trying to do with it. I don't remember any discussions about it on the mod_perl list, which I think is largely due to CHECK and INIT being new and rarely used features. It may be worth a search though.

    Making it work for both MP1 and MP2 would require you to check the version because the API is different. See this for the MP2 syntax.