This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In S_check_type_and_open() call PerlIO_openn() directly if possible.