This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fixes for open.pm which attempts to load layers:
authorNick Ing-Simmons <nik@tiuk.ti.com>
Wed, 22 Jan 2003 17:19:41 +0000 (17:19 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Wed, 22 Jan 2003 17:19:41 +0000 (17:19 +0000)
commitc9bca74aca217023baf0f921dcffaaa072a83cf3
tree45e5091323624ef02bbf6c3c984dedbecaf560d2
parent9837d3731bea1e0d3aaed58a46127574f76ffe53
Fixes for open.pm which attempts to load layers:
 1. C equivalent of local $SIG{__WARN__} = sub {}
    while loading layers to supress warnings lib/open.t does
    not want.
 2. The loading scheme does not recurse now so look for
    new symptom of bad layer which is that a good module
    fails to load (as we cannot open any files).

NOTE: In my opinion open.pm should probably die on bad layer
spec rather than just (maybe) warning and then allowing opens
to fail.

p4raw-id: //depot/perlio@18560
lib/open.t
perlio.c