Skip to content

Silence "used only once" warning in porting test #23284

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

Open
wants to merge 1 commit into
base: blead
Choose a base branch
from

Conversation

jkeenan
Copy link
Contributor

@jkeenan jkeenan commented May 14, 2025

As suggested by Dave M. in
#23278 (comment).


  • This set of changes does not require a perldelta entry.

@iabyn

Copy link
Contributor

@khwilliamson khwilliamson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works. An alternative is to change test.pl to be

$::IS_ASCII  = $::IS_ASCII  = ord 'A' ==  65;
$::IS_EBCDIC = $::IS_EBCDIC = ord 'A' == 193;

And then the individual .t files wouldn't have to do anything special.

But I don't know which is better. Maybe they should have to declare their use of this as the better practice.

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