On Mon, 17 Jul 2006, Philip M. Gollucci wrote:
http://perl.apache.org/docs/2.0/user/porting/compat.html#mod_perl_1_0_and_2_0_Constants_Coexistence
I meant to cite tbat before, and I did the diff based on that from memory,
which apparently wasn't
as good as I hoped it was.
That page still doesn't explain why you'd import the constants and then
fully qualify them.
Why not do something like this if you can't import them ...
use constant OK => MP2 ? Apache2::Const::OK : Apache::Constants::OK;
It's weird but I think it would make the code read better.
-dave
/*===================================================
VegGuide.Org www.BookIRead.com
Your guide to all that's veg. My book blog
===================================================*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]