Apache2:: namespace and AuthCookie package name.

[prev] [thread] [next] [Date index for 2005/04/16]

From: Michael J Schout
Subject: Apache2:: namespace and AuthCookie package name.
Date: 05:32 on 16 Apr 2005
Hey everyone.

I am working on updating Apache::AuthCookie to work with mod_perl 
2.0.0-RC5.  In past releases, both the MP1 and MP2 versions of 
AuthCookie were installed as Apache::AuthCookie, even though the MP2 
version of the module has several API changes in order to be compatible 
with MP2.  Makefile.PL tries to determine which version of mod_perl the 
current machine has installed, and selects the appropriate version of 
AuthCookie to install (MP1 or MP2).  This has been less than ideal.

Now that we have settled on the Apache2:: namespace for mod_perl2, it 
seems appropriate to me to leave Apache::AuthCookie as the MP1 supported 
version of AuthCookie, and to rename the MP2 version to 
Apache2::AuthCookie.  This will eliminate confusion over which MP 
supported version of AuthCookie is installed, and seems to fit in with 
the Apache2:: namespace that mod_perl2 uses.

My question is, do I need to do anything special to register/reserve the 
Apache2::AuthCookie namespace?  Are there any objections to this?  I do 
not see any other 3rd party modules under the Apache2:: namespace on 
CPAN, so I am not sure if this is acceptable or not :).

Regards,
Michael Schout

Apache2:: namespace and AuthCookie package name.
Michael J Schout 05:32 on 16 Apr 2005

RE: Apache2:: namespace and AuthCookie package name.
Clayton Cottingham 08:24 on 16 Apr 2005

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52