Skip to content

Conversation

@HaraldJoerg
Copy link
Contributor

Add a paragraph that callers need to specify all positional parameters before named ones, even if the positional parameters have defaults.

Delete a sentence stating that there is no way for the caller to provide a value for a named parameter after an optional positional parameter. There is a way, you just need to provide values for positional parameters.

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

PS: I seem to have also fixed a typo in line 1647.

Add a paragraph that callers need to specify all positional parameters
before named ones, even if the positional parameters have defaults.

Delete a sentence stating that there is no way for the caller to provide
a value for a named parameter after an optional positional parameter.
There _is_ a way, you just need to provide values for positional
parameters.
my %hash
$hashref->%*
%{ expr }
(expr)->*%
Copy link
Contributor

Choose a reason for hiding this comment

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

👍🏻

Copy link
Contributor

@leonerd leonerd left a comment

Choose a reason for hiding this comment

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

LGTM

@khwilliamson khwilliamson merged commit 62184ce into Perl:blead Nov 2, 2025
34 checks passed
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.

4 participants