Skip to content

Commit 4fabb6c

Browse files
authored
Make it more obvious «$baa» splits on whitespace in var
1 parent 2746a1b commit 4fabb6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/Language/unicode_entry.pod6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ Thus constructs such as these are now possible:
187187
say (1, 2) »+« (3, 4); # OUTPUT: «(4 6)␤» - element-wise add
188188
[1, 2, 3] »+=» 42; # add 42 to each element of @array
189189
say «moo»; # OUTPUT: «moo␤»
190-
my $baa = 123; say «$baa»; # OUTPUT: «(123)␤»
190+
191+
my $baa = "foo bar";
192+
say «$baa $baa ber».perl; # OUTPUT: «("foo", "bar", "foo", "bar", "ber")␤»
191193
192194
=head2 Set/bag operators
193195

0 commit comments

Comments
 (0)