Skip to content

Commit de1690d

Browse files
authored
Fix typo mentioned in #598
1 parent e5d4cfb commit de1690d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Capture.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Commonly, this term will be a List of terms, from which any Pair
3131
literal will be placed in the named part, and all other terms will be
3232
placed in the positional part.
3333
34-
my $c = \(42); # Capture with one positional parts
35-
$c = \(1, 2, a => 'b'); # Capture with two positional and one named part
34+
my $c = \(42); # Capture with one positional part
35+
$c = \(1, 2, a => 'b'); # Capture with two positional and one named parts
3636
3737
To use such a Capture, you may use C<'|'> before it in a function call, and it
3838
will be as if the values in the Capture were passed directly to the function

0 commit comments

Comments
 (0)