On Sat, 6 Oct 2001, Stas Bekman wrote:

> As I go with Apache::Registry I'm playing with stuff from 1.x, and see
> some problems. Let me know whether these should be fixed==implemented
> or fixed==compat, ignored, documented.
> 
> Trying Apache::Reload:
> 
> - PerlInitHandler doesn't exist. I've used PerlPostReadRequestHandler 
> instead.

>> todo for PerlInitHandler
 
> - %INC is supposed to include correct filenames as its values.
> Apache::Reload tries to get the file and:
> 
> Apache::Reload: Can't locate Apache.pm => 1
> Apache::Reload: Can't locate Apache/Constants.pm => 1

Apache::Reload should be changed to only re-load the file if it exists
(-e), Apache::compat is not the only case where a value is added to %INC
that is not a file.

> 
> Otherwise Apache::Reload works out of box.
> But todo/deprecated_features.txt mentions it, so while we are on this
> topic, should we replace StatINC with it? Or just print some warning 
> from Apache::compat for StatINC?

nah, just replace Apache::StatINC with Apache::Reload.
Apache::compat is mainly concerned with making existing code
run.  changing PerlModule Apache::StatINC to PerlModule Apache::Reload is
a config issue, and something that can already be changed in 1.x



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to