Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc & and subscripts in quoting constructs
  • Loading branch information
gfldex committed Jul 22, 2016
1 parent 712b0c6 commit e7200ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/Language/quoting.pod6
Expand Up @@ -117,6 +117,17 @@ say "@neighborsB<.L<join>(', ')> and I try our best to coexist peacefully."
However, C<"@example.com"> produces C<@example.com>.
To call a subroutine use the C<&>-sigil.
say "abc&uc("def")ghi";
# OUTPUT«abcDEFghi␤»
Postcircumfix operators and therefore L<subscripts|/language/subscripts> are
interpolated as well.
my %h = :1st; say "abc%h<st>ghi";
OUTPUT«abc1ghi␤»
=head2 Word quoting: qw
X<|qw word quote>X«|< > word quote»
Expand Down

0 comments on commit e7200ea

Please sign in to comment.