Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use PerlIO::get_layers without loading PerlIO.pm #1022

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

haarg
Copy link
Member

@haarg haarg commented Jan 22, 2025

PerlIO::get_layers is always available if PerlIO is available, without needing to load PerlIO.pm. Rather than trying to load it, we can just test for the existence of the function.

PerlIO::get_layers is always available if PerlIO is available, without
needing to load PerlIO.pm. Rather than trying to load it, we can just
test for the existence of the function.
@exodist exodist merged commit bbde840 into Test-More:master Jan 22, 2025
19 checks passed
@haarg haarg deleted the no-PerlIO-pm branch January 22, 2025 16:21
exodist added a commit that referenced this pull request Jan 22, 2025
    - #1021 don't use base (Thanks Haarg)
    - #1022 use PerlIO::get_layers without loading PerlIO.pm (Thanks Haarg)
    - #1023 move try_sig_mask to separate file to avoid always loading POSIX (Thanks Haarg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants