Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
include ability to have non-identifier aliases
  • Loading branch information
TimToady committed Nov 8, 2011
1 parent 7b498ac commit da0c71f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions S06-routines.pod
Expand Up @@ -1211,6 +1211,10 @@ parcel, the value will flatten in a list context, but itemize in an item context
You can use C<< prefix:<|> >> to force flattening into an outer argument list, if
needed.

It is possible to alias to a non-identifier by using the C<term> syntactic category:

my \term:<∞> = Inf;

=head2 Flattening argument lists

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

0 comments on commit da0c71f

Please sign in to comment.