RE: Loading Win32::OLE in a modperl package

2007-06-11 Thread Jan Dubois
On Sun, 10 Jun 2007, Foo JH wrote: > Thanks for the clarification. In other words: avoid Win32::OLE in > modperl? That would be my advice. But note that I'm not really knowledgeable about all the different ways you can configure mod_perl. Maybe there is a configuration in which it is safe to use

Re: Loading Win32::OLE in a modperl package

2007-06-10 Thread Foo JH
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 at

RE: Loading Win32::OLE in a modperl package

2007-06-08 Thread Jan Dubois
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 an

Re: Loading Win32::OLE in a modperl package

2007-06-08 Thread Foo JH
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 &

Re: Loading Win32::OLE in a modperl package

2007-06-08 Thread Lionel MARTIN
MAIL 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 for suggesting a way out for me. Lionel MARTIN wrote: Hi again, I tri

Re: Loading Win32::OLE in a modperl package

2007-06-08 Thread Lionel MARTIN
ionel. - Original Message - From: "Foo JH" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: "mod_perl" Sent: Friday, June 08, 2007 10:43 AM Subject: Re: Loading Win32::OLE in a modperl package Thanks Lionel, I'm running Ap

Re: Loading Win32::OLE in a modperl package

2007-06-08 Thread Foo JH
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: Basicall

Re: Loading Win32::OLE in a modperl package

2007-06-08 Thread Lionel MARTIN
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" Sent: Friday, June 08, 2007 10:29 A