Skip to content

[doc] Add array examples to "each" documentation #17719

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

Closed
jidanni opened this issue Apr 15, 2020 · 1 comment
Closed

[doc] Add array examples to "each" documentation #17719

jidanni opened this issue Apr 15, 2020 · 1 comment

Comments

@jidanni
Copy link
Member

jidanni commented Apr 15, 2020

$ perldoc -f each
notes that it can now also be used for arrays,
but the examples still are only of hashes.

@jidanni
Copy link
Member Author

jidanni commented Feb 2, 2021

each HASH
each ARRAY

is the single example containing an array.

khwilliamson added a commit to khwilliamson/perl5 that referenced this issue May 4, 2025
The documentation for doing these operations on arrays was added at a later time to the documentation onf hashes.  This cleans up some awkwardness and adds an example.

Fixes Perl#17719
khwilliamson added a commit to khwilliamson/perl5 that referenced this issue May 4, 2025
The documentation for doing these operations on arrays was added at a later time to the documentation onf hashes.  This cleans up some awkwardness and adds an example.

Fixes Perl#17719
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant