Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Geoffrey Young
Fran Fabrizio wrote: > > >> Thanx for the reply (I hardly get replies for subjects > >> with restart :-( I guess I'm the only one using > >> PerlFreshRestart (sic !). > > > > > > Hopefully you are the only one! > > Pardon my newbie-ness, but can someone explain the perils of > PerlFreshRestart i

Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Fran Fabrizio
>> Thanx for the reply (I hardly get replies for subjects >> with restart :-( I guess I'm the only one using >> PerlFreshRestart (sic !). > > > Hopefully you are the only one! Pardon my newbie-ness, but can someone explain the perils of PerlFreshRestart in a bit more depth? I hadn't heard of

Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Perrin Harkins
Sreeji K Das wrote: > Thanx for the reply (I hardly get replies for subjects > with restart :-( I guess I'm the only one using > PerlFreshRestart (sic !). Hopefully you are the only one! > My requirement is to do a neat kill of children and > then do a complete restart. I don't want any existing

Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Sreeji K Das
Hi Perrin/Ged, Thanx for the reply (I hardly get replies for subjects with restart :-( I guess I'm the only one using PerlFreshRestart (sic !). My requirement is to do a neat kill of children and then do a complete restart. I don't want any existing connections to be terminated abruptly. Also I

Re: Ordering in %INC for PerlRestart

2002-04-08 Thread Perrin Harkins
Ged Haywood wrote: > Hi there, > > On Tue, 2 Apr 2002, [iso-8859-1] Sreeji K Das wrote: > > >>I use PerlFreshRestart on to reload my modules. > > [snip] > >>However, here my modules are getting loaded before the >>PerlRequire'd is loaded (since %INC is a hash). >> >>First, can some1 suggest a

Re: Ordering in %INC for PerlRestart

2002-04-07 Thread Ged Haywood
Hi there, On Tue, 2 Apr 2002, [iso-8859-1] Sreeji K Das wrote: > I use PerlFreshRestart on to reload my modules. [snip] > However, here my modules are getting loaded before the > PerlRequire'd is loaded (since %INC is a hash). > > First, can some1 suggest a solution for this ? I always stop (w

Ordering in %INC for PerlRestart

2002-04-01 Thread Sreeji K Das
Hi I use PerlFreshRestart on to reload my modules. This is the problem I face: I have PerlRequire "bin/startup.pl" which "require"s a lot of perl modules. However, on restart (kill USR1), mod_perl does something like: %temp = %INC; %INC = (); while (($k, $v) = each %temp)) { require $k; } Howeve