Skip to content

Conversation

@khwilliamson
Copy link
Contributor

This creates a variable containing the string to use to specify /dev/null portably; and documents the package variables it sets

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

t/test.pl Outdated
Comment on lines 4 to 5
# This sets $::IS_ASCII and $::IS_EBCDIC appropriately, and $::devnull to the
# string to use to specify /dev/null on this platform
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment's reference to "This" seems to be hanging in the middle of nowhere.

I assume you're trying to document these variables, but I don't think it belongs here, the ascii/ebcdic variables have documentation in a vague kind of way, and devnull could use the same, but I don't think it belongs before the caution here.

I'm going to look at writing a test_pl.pod since we can't use pod here and the in-comment documentation is annoying to access (and very incomplete).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved the documentation to after the Note, and clarified it. This was a start on documenting what I just did, and the other package variables it sets.

This creates a variable containing the string to use to specify
/dev/null portably; and documents the package variables it sets
@khwilliamson khwilliamson merged commit d9b90c3 into Perl:blead Sep 8, 2025
33 checks passed
@khwilliamson khwilliamson deleted the devnull branch September 8, 2025 04:10
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