Skip to content

Commit da0c71f

Browse files
committed
include ability to have non-identifier aliases
1 parent 7b498ac commit da0c71f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

S06-routines.pod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,10 @@ parcel, the value will flatten in a list context, but itemize in an item context
12111211
You can use C<< prefix:<|> >> to force flattening into an outer argument list, if
12121212
needed.
12131213

1214+
It is possible to alias to a non-identifier by using the C<term> syntactic category:
1215+
1216+
my \term:<∞> = Inf;
1217+
12141218
=head2 Flattening argument lists
12151219

12161220
The unary C<|> operator casts its argument to a C<Capture>

0 commit comments

Comments
 (0)