Re: PerlModule hell - questions and comments

2002-05-27 Thread Kee Hinckley
At 9:13 PM +0200 5/26/02, Gerald Richter wrote: >Hi Kee, >> > >> >I am back, so let start another round in debugging the setup >> >> I haven't forgotten this--just swamped. Hopefully later this week. >> > >While trying to get Embperl to work with Apache 2.0, I had another idea what >maybe

Re: PerlModule hell - questions and comments

2002-05-26 Thread Gerald Richter
Hi Kee, > > > >I am back, so let start another round in debugging the setup > > I haven't forgotten this--just swamped. Hopefully later this week. > While trying to get Embperl to work with Apache 2.0, I had another idea what maybe the problem. To verfiy this, could you please send me the o

Re: PerlModule hell - questions and comments

2002-04-23 Thread Kee Hinckley
At 8:49 PM +0200 4/7/02, Gerald Richter wrote: >Hi Kee, > >I am back, so let start another round in debugging the setup I haven't forgotten this--just swamped. Hopefully later this week. > >I have tried to create a minimal httpd.conf. I have a httpd (1.3.23) with >staticly compiled in mod_

Re: PerlModule hell - questions and comments

2002-04-07 Thread Gerald Richter
Hi Kee, I am back, so let start another round in debugging the setup I have tried to create a minimal httpd.conf. I have a httpd (1.3.23) with staticly compiled in mod_perl 1.26 and Perl version 5.6.1 (I try several other combinations, but same result). With this httpd.conf Apache starts wi

Re: PerlModule hell - questions and comments

2002-03-25 Thread Perrin Harkins
Kee Hinckley wrote: > At Embperl 2.0b6 Gerald switched to a new architecture. The previous > version was just a plain Perl module loaded as a handler by mod_perl. > This version is also an Apache module. Okay, if it's only in the recent betas then it's possible that only a few people have enc

Re: PerlModule hell - questions and comments

2002-03-25 Thread Perrin Harkins
Kee Hinckley wrote:> 1. *Why* are the apache config files executed twice (completely with > loading and unloading all the modules)? This is a core apache thing. Apache does it to verify that a restart is safe. See http://thingy.kcilink.com/modperlguide/config/Apache_Restarts_Twice_On_Start.

Re: PerlModule hell - questions and comments

2002-03-23 Thread Kee Hinckley
At 7:04 PM +0800 3/23/02, Stas Bekman wrote: >If all you want to do is to be able to load the module only during >the restart use in startup.pl: > > if ($Apache::Server::ReStarting) { > require "My::Sensitive::Module"; > } No, the module has to be loaded during both phases, other wise

Re: PerlModule hell - questions and comments

2002-03-23 Thread Stas Bekman
Kee Hinckley wrote: > At 4:18 PM -0500 3/22/02, Perrin Harkins wrote: > >> Modules loaded with PerlModule and PerlRequire are not supposed to be >> loaded again the second time. I seem to remember that they are loaded >> again when using DSO though, so if you're using DSO you may want to >> r

Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 5:11 PM -0500 3/22/02, Perrin Harkins wrote: >In your case, PerlFreshRestart might help with what you're trying to >do since it will clear %INC, but you may still have the problem with >needing to call Init. PerlFreshRestart will reload the module and thus call Init, but PerlFreshRestart is

Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 5:11 PM -0500 3/22/02, Perrin Harkins wrote: >Kee Hinckley wrote: >>At Embperl 2.0b6 Gerald switched to a new architecture. The >>previous version was just a plain Perl module loaded as a handler >>by mod_perl. This version is also an Apache module. > >Okay, if it's only in the recent betas

Re: PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
At 4:18 PM -0500 3/22/02, Perrin Harkins wrote: >Modules loaded with PerlModule and PerlRequire are not supposed to >be loaded again the second time. I seem to remember that they are >loaded again when using DSO though, so if you're using DSO you may >want to recompile as static. Also, if you

PerlModule hell - questions and comments

2002-03-22 Thread Kee Hinckley
I'm posting this to the modperl list as well as embperl in hope that someone there can answer some questions. I've been trying to get the latest Embperl beta working on MacOS X (although apparently the problems I'm experience occur on some other operating systems as well). Embperl 2.0b7, Apac