develooper Front page | perl.perl5.porters | Postings from October 2003

Re: 5.8.2 perldelta

Thread Previous | Thread Next
From:
Stas Bekman
Date:
October 29, 2003 22:02
Subject:
Re: 5.8.2 perldelta
Message ID:
3FA0A984.8090401@stason.org
Stas Bekman wrote:
> Here is a test which demonstrates why the new change in require is 
> broken (IMHO) (besides a completely hosed mod_perl 1.0 test suite):
[...]
> Here is the problem. If a module fails to load once it must not be 
> blacklisted. The test demonstrates how a module may fail if loaded from 
> the wrong directory, but then is supposed to succeed if moved to a 
> different directory.

Moreover, the new change contradicts the documentation. If the module has 
failed to load it should not be logged in %INC. Only if it was loaded 
successfully and returned a true value it will be stored in %INC.

[...]

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About