Skip to content

Commit e086eb5

Browse files
committed
Fix example to not confuse the topic at hand with []'s internal itemization
1 parent 5fff7bd commit e086eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Type/Signature.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ dissolving one or more layers of bare C<Iterables>. Slurpy parameters declared
183183
with two stars do not do so:
184184
185185
sub a (*@a) { @a.join("|").say };
186-
a(1,[1,2],[[3,4],5]); # 1|1|2|3 4|5
186+
a(1,[1,2],([3,4],5)); # 1|1|2|3|4|5
187187
sub b (**@b) { @b.join("|").say };
188-
b(1,[1,2],[[3,4],5]); # 1|1 2|3 4 5
188+
b(1,[1,2],([3,4],5)); # 1|1 2|3 4 5
189189
190190
Normally a slurpy parameter will create an Array, create a new
191191
Scalar container for each argument, and assign the value from each

0 commit comments

Comments
 (0)