Thanks for the clarification. In other words: avoid Win32::OLE in modperl?
Jan Dubois wrote:
On Fri, 08 Jun 2007, Foo JH wrote:
I wonder if I am alone in experiencing this. Simply put: putting 'use
Win32::OLE' in my modperl package will cause the Apache to fault. It
basically can't start
Basically,
Doing, in test.pl, run by ModPel::Registry, something like:
use Win32::OLE;
print 'Hello';
Works prefectly...
Which versions (Apache, MP and Perl) are you running?
- Original Message -
From: Foo JH [EMAIL PROTECTED]
To: mod_perl modperl@perl.apache.org
Sent: Friday,
Thanks Lionel,
I'm running Apache2.2 + Perl5.88.
Try this piece of code:
package MyPackage;
use strict;
use warnings;
use Win32::OLE;
sub handler
{
my $r = shift;
$r-content_type('text/plain');
print 'hello';
return Apache2::Const::OK;
}
1;
Lionel MARTIN wrote:
-
From: Foo JH [EMAIL PROTECTED]
To: Lionel MARTIN [EMAIL PROTECTED]
Cc: mod_perl modperl@perl.apache.org
Sent: Friday, June 08, 2007 10:43 AM
Subject: Re: Loading Win32::OLE in a modperl package
Thanks Lionel,
I'm running Apache2.2 + Perl5.88.
Try this piece of code:
package MyPackage;
use
, 2007 11:21 AM
Subject: Re: Loading Win32::OLE in a modperl package
Thanks Lionel.
Damn. I was hoping I won't need to 'regress' into Apache 2.0. But thanks a
lot for suggesting a way out for me.
Lionel MARTIN wrote:
Hi again,
I tried our code, using as well this directive in my httpd.conf
this out.
Lionel.
- Original Message - From: Foo JH [EMAIL PROTECTED]
To: Lionel MARTIN [EMAIL PROTECTED]
Sent: Friday, June 08, 2007 11:21 AM
Subject: Re: Loading Win32::OLE in a modperl package
Thanks Lionel.
Damn. I was hoping I won't need to 'regress' into Apache 2.0. But
thanks a lot
On Fri, 08 Jun 2007, Foo JH wrote:
I wonder if I am alone in experiencing this. Simply put: putting 'use
Win32::OLE' in my modperl package will cause the Apache to fault. It
basically can't start at all. A window will pop up complaining about
'Apache HTTP Server has encountered a problem and