Skip to content

Commit 37a1016

Browse files
committed
fixup small wording fixes in perlsub.pod
1 parent 5585e35 commit 37a1016

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pod/perlsub.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,8 @@ 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
452452
passed by the caller, named parameters are matched by name-value pairs
453-
from the caller, where the name matches the variable name of the parameter
454-
but the order of the pairs is not significant.
453+
from the caller. The passed-in name matches with the variable name of the
454+
parameter but the order of the pairs is not significant.
455455

456456
Named parameters in signatures are currently considered B<experimental>, and
457457
their behaviour may change in future releases of Perl. Uses of named
@@ -470,8 +470,8 @@ allowed after any named ones.
470470

471471
To invoke this function, the caller must pass pairs of names and values to
472472
provide values for the parameters. Each name must match the name of one of
473-
the variables, omimtting its leading C<$> sigil. The order of these values
474-
is not important; both of the following lines will cause the same behaviour.
473+
the variables, omitting its leading C<$> sigil. The order of these values
474+
is not important; both of the following lines will cause the same behaviour:
475475

476476
foo(alpha => "A", beta => "B");
477477
foo(beta => "B", alpha => "A");

0 commit comments

Comments
 (0)