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

[doc] pod/perlvar.pod: should the <<>> operator be mentioned more often? #23100

Open
vaitkus opened this issue Mar 12, 2025 · 0 comments
Open

Comments

@vaitkus
Copy link
Contributor

vaitkus commented Mar 12, 2025

Where
pod/perlvar.pod

Description
Multiple variables interact with the double diamond operator (<<>>) in the same way they interact with the single diamond operator (<>), e.g. $ARGV, ARGV, $., ${^OPEN}. However, only the ${^OPEN} description explicitly mentions <<>> ("or the related <> and <<>> operators"). I was wondering if it would be worthwhile to modify the other mentions in a similar way as well, e.g. by introducing phrasing like "<>/<<>> operators" instead of "<> operator". On the one hand it is more verbose, on the other, newcomers may not be aware of the <<>> operator at all as the majority of the coding examples in the wild probably use <>.

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