File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1402,9 +1402,9 @@ $?BITS Number of data-path bits of the platform the program is being c
1402
1402
1403
1403
The compile time variable C<&?ROUTINE> provides introspection about which
1404
1404
routine the program is actually within. It returns an instance of
1405
- L<Sub |/type/Sub > attached to the current routine. It does support the method
1405
+ L<Routine |/type/Routine > attached to the current routine. It does support the method
1406
1406
C<.name> to obtain the name of the called routine, as well as C<.signature> and
1407
- others method related to C<Sub >:
1407
+ others method related to C<Routine >:
1408
1408
1409
1409
sub awesome-sub { say &?ROUTINE.name }
1410
1410
awesome-sub; # OUTPUT: «awesome-sub»
@@ -1442,7 +1442,7 @@ use the function name or L<C«samewith»|/language/functions#sub_samewith>.
1442
1442
1443
1443
The special compile variable C<&?BLOCK> behaves similarly to
1444
1444
C<&?ROUTINE> but it allows to introspect a single block of code.
1445
- It holds a L<Sub |/type/Sub > and allows for recursion within the
1445
+ It holds a L<Block |/type/Block > and allows for recursion within the
1446
1446
same block:
1447
1447
1448
1448
=begin code
You can’t perform that action at this time.
0 commit comments