require should ignore directories found when searching @INC not just
authorGisle Aas <gisle@activestate.com>
Thu, 16 Mar 2006 12:01:10 +0000 (12:01 +0000)
committerGisle Aas <gisle@activestate.com>
Thu, 16 Mar 2006 12:01:10 +0000 (12:01 +0000)
commit6b845e562be40aac749b544b6d494078c54de4aa
treed5a207f6b231caa5faad6581a9fcfb1d98b1a2d0
parentb7bef49178837907ea521cdab1ee49994bf99cf6
require should ignore directories found when searching @INC not just
die as soon as it finds one.  It should for instance be possible to
for require "File" to read the file "./File" even if there happens to
be a "File" directory in perl's standard library.

This fixes the RT #24404 fix in change 26373.

p4raw-id: //depot/perl@27515
pp_ctl.c
t/comp/require.t