This bit of Perl_sv_clear is generating a compiler warning now: case SVt_PVIO: if (IoIFP(sv) && IoIFP(sv) != PerlIO_stdin() && IoIFP(sv) != PerlIO_stdout() && IoIFP(sv) != PerlIO_stderr()) { io_close((IO*)sv, FALSE); }
Should we really be ignoring close failure here? Would it be better to issue a lexical warning? If so, what category? And what text? Nicholas Clark