[Fwd: Re: Apache2 namespace]

2005-07-05 Thread Philip M. Gollucci
Original Message Subject:Re: Apache2 namespace Date: Tue, 5 Jul 2005 08:45:58 -0400 From: Kevin A. McGrail <[EMAIL PROTECTED]> To: Philip M. Gollucci <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <

Re: Apache2 namespace

2005-07-05 Thread Jim Albert
e base (my code) in terms of whether to include modules from the Apache:: or Apache2:: namespace. Perhaps the exsitence of and the particular value of $ENV{MOD_PERL_API_VERSION} might be better suited. -- Jim Albert

Re: Apache2 namespace

2005-07-05 Thread Philip M. Gollucci
Hmmm seems like the example on that page relies on use mod_perl; to get $mod_perl::VERSION However, mod_perl.pm has changed to mod_perl2.pm in the newer version of mod_perl that's now on my system, so it doesn't appear that the example at http://perl.apache.org/docs/2.0/user/porting/compa

Re: Apache2 namespace

2005-07-05 Thread Jim Albert
Philip M. Gollucci wrote: Philip M. Gollucci wrote: Jim Albert wrote: For example, one piece of my code has use Apache::Const but I had to change that to use Apache2::Const on the server running the lastest mod_perl. Can you give me the logic to handle that properly in a single code file

Re: Apache2 namespace

2005-07-03 Thread Philip M. Gollucci
Philip M. Gollucci wrote: Jim Albert wrote: For example, one piece of my code has use Apache::Const but I had to change that to use Apache2::Const on the server running the lastest mod_perl. Can you give me the logic to handle that properly in a single code file. Thanks again. Here's the l

Re: Apache2 namespace

2005-07-03 Thread Philip M. Gollucci
Jim Albert wrote: For example, one piece of my code has use Apache::Const but I had to change that to use Apache2::Const on the server running the lastest mod_perl. Can you give me the logic to handle that properly in a single code file. Thanks again. >>I think your key here is the MOD_PERL

Re: Apache2 namespace

2005-07-03 Thread J Matisse Enzer
On Jul 3, 2005, at 2:10 PM, Jim Albert wrote: Can you give me the logic to handle that properly in a single code file. Thanks again. I think your key here is the MOD_PERL_API_VERSION environment variable. BEGIN { if ( $ENV{MOD_PERL_API_VERSION} == 2 ) { # do mp2 stuff } } -

Re: Apache2 namespace

2005-07-03 Thread Jim Albert
Philip M. Gollucci wrote: Jim Albert wrote: Can someone point me to a URL that describes the purpose of the Apache2 namespace? I don't believe one exists (yet) ... possibly a good idea for the perl.apache.org site? The general idea as I've got it is: 1. Apache::* Mo

Re: Apache2 namespace

2005-07-02 Thread Philip M. Gollucci
Jim Albert wrote: Can someone point me to a URL that describes the purpose of the Apache2 namespace? I don't believe one exists (yet) ... possibly a good idea for the perl.apache.org site? The general idea as I've got it is: 1. Apache::* Module works under mp1

Apache2 namespace

2005-07-02 Thread Jim Albert
Can someone point me to a URL that describes the purpose of the Apache2 namespace? Latest mod_perl was just installed on one of my systems and I noticed a few modules moved from Apache:: to Apache2:: Not a big deal. I made a few changes to handle that. But, I'm wondering if I s

RE: Apache2:: namespace and AuthCookie package name.

2005-04-16 Thread Clayton Cottingham
ut; mod_perl > Subject: Re: Apache2:: namespace and AuthCookie package name. > > > > Michael J Schout wrote: > > 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 v

Re: Apache2:: namespace and AuthCookie package name.

2005-04-16 Thread Adam Kennedy
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

Apache2:: namespace and AuthCookie package name.

2005-04-15 Thread Michael J Schout
. 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