On Fri, Dec 03, 1999 at 09:41:03AM -0800, Randal L. Schwartz wrote:
> >>>>> "Tim" == Tim Bunce <[EMAIL PROTECTED]> writes:
> 
> Tim> I presumed (I've not looked) that it would reload the new interpreter
> Tim> in the same way that the original one was and thus would reload modules
> Tim> in the same order.
> 
> You can *presume* that, but I don't recall anywhere in the Perl
> interpreter where *order* of require's is recorded.

I was thinking it terms of the Apache config file that can be used to
pre-load modules.

The way PerlFreshRestart is implemented now seems like a hack that is
always bound to cause some problems. It's not much of a "Fresh Restart",
more like a "Stale Overwrite With Your Eyes Shut".

> I've always thought the "must load Apache::DBI before DBI" thing was a
> bit weird anyway.  Can't you just make it a flag that DBI looks at
> that Apache::DBI sets?

The idea was to avoid run-time overhead by setting things up a
compile time.

I guess I could add something like this:

        DBI->default_connect_method("Apache::DBI::connect");

which Apache::DBI could call, after a "use DBI;", to get itself
plugged in.

Tim.

Reply via email to