Skip to content

Commit 222457b

Browse files
fixup minor docs fixes
Co-authored-by: Karen Etheridge <[email protected]>
1 parent 37a1016 commit 222457b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pod/perldiag.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4153,8 +4153,8 @@ which is forbidden. See L<perlvar/%{^HOOK}> and L<perlfunc/require EXPR>.
41534153

41544154
=item Missing required named parameter '%s' to subroutine '%s'
41554155

4156-
(F) A subroutine using a signature that declares a non-optional named
4157-
parameter was invoked, but the caller did not provide a value associated
4156+
(F) A subroutine was invoked that uses a signature that declares a
4157+
non-optional named parameter, but the caller did not provide a value associated
41584158
with that name. The caller of the subroutine is presumably at fault.
41594159

41604160
The message attempts to include the name of the called subroutine. If
@@ -7520,8 +7520,8 @@ perl does not recognise the name of the requested attribute.
75207520

75217521
=item Unrecognized named parameter '%s' to subroutine '%s'
75227522

7523-
(F) A subroutine using a signature that declares named parameters but has no
7524-
slurpy parameter was invoked, and the caller provided a name that did not
7523+
(F) A subroutine was invoked that uses a signature that declares named parameters but has no
7524+
slurpy parameter, and the caller provided a name that did not
75257525
match any declared named parameter. The caller of the subroutine is
75267526
presumably at fault.
75277527

pod/perlsub.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ If there are multiple optional positional parameters and not enough
445445
arguments are supplied to fill them all, they will be filled from left
446446
to right.
447447

448-
Since Perl 5.43.3, a signature may also declare named parameters. Like
448+
Since Perl 5.43.5, a signature may also declare named parameters. Like
449449
positional parameters, these are lexical variables which will contain values
450450
passed by the caller when the subroutine is invoked. Whereas positional
451451
parameters take their values from the corresponding position in the list

0 commit comments

Comments
 (0)