Skip to content

Conversation

@khwilliamson
Copy link
Contributor

Fixes #22697

That a native English speaker could be confused by this is prima facie evidence that the wording should be improved. It's al right to be clever, but not at the expense of clarity.

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

this is likely to remind you of a dump program, or some desperate last
message unfortunate programs are wont to throw at you before they expire
into the wild blue yonder. Assuming that the variable C<$mem> holds a
this is likely to remind you of a dump program, or some terse panic
Copy link
Contributor

Choose a reason for hiding this comment

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

While I think your phrasing is an improvement, I have to wonder why unpack is likely to remind me of a dump program or a panic message.

Copy link
Contributor

@Grinnz Grinnz May 4, 2025

Choose a reason for hiding this comment

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

This could be improved by swapping the order of the sentence, like "Since this is likely to remind you..., let's use unpack."

@khwilliamson khwilliamson force-pushed the perlpack_desperate branch from 9b51d83 to 070b513 Compare May 4, 2025 16:47
@khwilliamson
Copy link
Contributor Author

I delved further into this, and think the result of the latest push is much better.

Comment on lines +64 to +66
print unpack( 'A*', $mem), "\n"

A MAN A PLAN A CANAL PANAMA
Copy link
Contributor

Choose a reason for hiding this comment

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

This is no different to:

print $mem, "\n";

I don't see how it adds anything

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 think this pod needs more extensive changes, so closing this PR

@khwilliamson khwilliamson deleted the perlpack_desperate branch August 9, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[doc] perl pack rephrase

4 participants