[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
Philip M. Gollucci wrote: 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

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::* Module works under

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 Possibly works

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
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 versions of AuthCookie were installed as Apache::AuthCookie, even though the MP2 version of the module has several API changes in order to b