On Fri, Dec 03, 1999 at 12:00:38PM -0500, Young, Geoffrey S. wrote:
> that's what I meant :)
>
> Since %INC is a hash, and it's order unpredictable, it's possible that DBI
> be re-required before Apache::DBI. But maybe something else is going on
> too...
>
> here's the code from the guide:
>
> while (my($k,$v) = each %INC) {
> delete $INC{$k};
> require $k;
> }
Well that would certainly cause the problem.
But is that _really_ what PerlFreshRestart does? I thought it destroyed
the entire perl interpreter before then recreating one from scratch?
I presumed (I've not looked) that it would reload the new interpreter
in the same way that the original one was and thus would reload modules
in the same order.
Tim.
- PerlFreshRestart and %INC Michael Smith
- Re: PerlFreshRestart and %INC Tim Bunce
- Re: PerlFreshRestart and %INC Michael Dearman
- Re: PerlFreshRestart and %INC Doug MacEachern
- RE: PerlFreshRestart and %INC Young, Geoffrey S.
- RE: PerlFreshRestart and %INC G.W. Haywood
- RE: PerlFreshRestart and %INC Young, Geoffrey S.
- Re: PerlFreshRestart and %INC Tim Bunce
- Re: PerlFreshRestart and %INC Randal L. Schwartz
- Re: PerlFreshRestart and %INC G.W. Haywood
- Re: PerlFreshRestart and %INC Tim Bunce
- Re: PerlFreshRestart and %INC brian moseley
- Re: PerlFreshRestart and %INC Jeffrey W. Baker
- Re: PerlFreshRestart and %INC Ken Williams
- Re: PerlFreshRestart and ... Jeffrey W. Baker
- Re: PerlFreshRestart and ... Chip Turner
- Re: PerlFreshRestart and %INC Andrei A. Voropaev
- Re: PerlFreshRestart and %INC Ken Williams
