On Jul 12, 2004, at 5:12 PM, Stas Bekman wrote:
It does so only for mod_perl itself. It doesn't solve it for CPAN modules.
Yes, but it allows them to solve it themselves:
use constant => MODPERL = eval { require Apache2 } ? 2 : eval { require Apache } ? 1 : die $@;
Right?
The only drawback I can see is a new potential for confusion: "which module should I require, mod_perl or Apache2", which of course will be documented, but who reads docs nowadays...
Not me! ;-)
Seriously, I think that the gradually improving docs will help. And this sort of thing should definitely go into the FAQ.
Regards,
David
-- David Wheeler President, Kineticode, Inc. http://www.kineticode.com/ Kineticode. Setting knowledge in motion.[sm]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
