@@ -500,7 +500,8 @@ The operator for calling one method, C<$invocant.method>.X<|method call>
500
500
501
501
Technically this is not an operator, but syntax special-cased in the compiler.
502
502
503
- = head2 postfix X < C « .& » >
503
+ X « |postfix .& »
504
+ = head2 postfix C « .& »
504
505
505
506
The operator to call a subroutine (with at least one positional argument) like
506
507
a method. The invocant will be bound to the first positional argument.
@@ -521,6 +522,7 @@ C<$invocant = $invocant.method>, similar to L<C<=>>.
521
522
522
523
Technically this is not an operator, but syntax special-cased in the compiler.
523
524
525
+ X « |postfix .^ »
524
526
= head2 postfix C « .^ »
525
527
526
528
A X < meta-method call > . C < $invocant.^method > calls C < method > on C < $invocant > 's
@@ -529,20 +531,23 @@ for more information.
529
531
530
532
Technically this is not an operator, but syntax special-cased in the compiler.
531
533
534
+ X « |postfix .? »
532
535
= head2 postfix C « .? »
533
536
534
537
X < Potential method call > s. C < $invocant.?method > calls method C < method > on
535
538
C < $invocant > if it has a method of such name. Otherwise it returns L < Nil > .
536
539
537
540
Technically this is not an operator, but syntax special-cased in the compiler.
538
541
542
+ X « |postfix .+ »
539
543
= head2 postfix C « .+ »
540
544
541
545
C < $invocant.+method > calls all methods called C < method > from C < $invocant > ,
542
546
and returns a L < List > of the results. Dies if no such method was found.
543
547
544
548
Technically this is not an operator, but syntax special-cased in the compiler.
545
549
550
+ X « |postfix .* »
546
551
= head2 postfix C « .* »
547
552
548
553
C < $invocant.*method > calls all methods called C < method > from C < $invocant > ,
@@ -551,6 +556,7 @@ L<List> is returned.
551
556
552
557
Technically this is not an operator, but syntax special-cased in the compiler.
553
558
559
+ X < |postfix ». >
554
560
= head2 postfix C < ». > / postfix C « >>. »
555
561
556
562
X < Hyper method call operator > . Will call a method on all elements of a C < List > out of order and return the list of return values in order.
0 commit comments