I am using a module that wants to tie to the Apache::RequestRec
The following code works in mod_perl/1.99_12 but does not seem to work
in mod_perl/1.999.21 - I simply get no output (no errors either):
tie *FILE => $r;
binmode(*FILE);
Server info:
Apache/2.0.52 (Unix) mod_ssl/2.0.
what the older version of OLE::Storage_Lite was
doing wrong. :-(
-Matisse
On Feb 2, 2005, at 5:21 PM, Stas Bekman wrote:
J Matisse Enzer wrote:
I am using a module that wants to tie to the Apache::RequestRec
The following code works in mod_perl/1.99_12 but does not seem to
work in mod_perl/1.999.21
Got a "Bus error" while configuring mod_perl2/1.999.22
(mod_perl-2.0.0-RC5)
This is on Mac OS X 10.3.9, Perl 5.8.1, with Apache 2.0.52
Here's the complete output:
[EMAIL PROTECTED] mod_perl-2.0.0-RC5: perl Makefile.PL
MP_APXS=/usr/local/apache2/bin/apxs PREFIX=/usr/local
Reading Makefile.PL arg
On Apr 25, 2005, at 2:56 PM, Stas Bekman wrote:
Looks like a bug in perl. But it's hard to tell.
Matisse, please try to run it under the perl debugger to see where
exactly it crashes. that'd be:
perl -d Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
PREFIX=/usr/local
OK, so i ran it under the
With the help of Lance P Cleveland there is now an Apache2:: version of
AuthCookieDBI.
Apache2::AuthCookieDBI premiered at version 2.03 and is essentially the
same as Apache::AuthCookieDBI 2.02 but works with mod_perl2.
---
Matisse Enzer <[EMAI
On May 12, 2005, at 7:22 AM, Enrico Sorcinelli wrote:
I am using mod_perl2 from almost 2 years but there are a lot of users
that still
use mod_perl 1 and/or mod_perl 2 prior to RC5, so for my Apache CPAN
modules I
would like to continue to support all versions with the minimum effort
(of
course
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
}
}
-