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]> <
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
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
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
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
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
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
}
}
-
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
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
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
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
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
. 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
13 matches
Mail list logo