File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ B<NOTE:> this method is deprecated as of B<6.d> language version. Instead,
336
336
create a new C < Pair > , with a L < decontainerized|/language/glossary#decont > key/value.
337
337
338
338
= for code :preamble<my $p>
339
- $p.=Map.=head.say; # OUTPUT: «orange»
339
+ $p.=Map.=head.say; # OUTPUT: «orange»
340
340
341
341
= head2 method Str
342
342
@@ -350,6 +350,17 @@ as I<key ~ \t ~ value>.
350
350
my $b = eggs => 3;
351
351
say $b.Str; # OUTPUT: «eggs 3»
352
352
353
+ = head2 method Pair
354
+
355
+ Defined as:
356
+
357
+ method Pair()
358
+
359
+ Returns the invocant Pair object.
360
+
361
+ my $pair = eggs => 3;
362
+ say $pair.Pair === $pair; # OUTPUT: «True»
363
+
353
364
= end pod
354
365
355
366
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6
You can’t perform that action at this time.
0 commit comments