This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
require should die if a file exists but can't be read.
authorBrian Fraser <fraserbn@gmail.com>
Sat, 2 Jun 2012 17:15:34 +0000 (14:15 -0300)
committerJesse Luehrs <doy@tozt.net>
Sun, 17 Jun 2012 19:15:03 +0000 (14:15 -0500)
commit2433d39e67a04b5f2254b841686dd8e7336c1183
treeebc43e9ab53f70f60c8ec067a61eb3161a080622
parent45e0f58a899367af7f91dfb54c94a62886b4d8e8
require should die if a file exists but can't be read.

See [perl #113422]. If a file exists but there's an error opening it,
we throw an exception and disregard the rest of @INC.
pp_ctl.c
t/op/require_errors.t