Skip to content

Commit c1f7054

Browse files
authored
Revise variable interpolation explanation in quoting.rakudoc (#4731)
Removed confusing extra verbiage from the explanation for variable interpolation in heredocs, and added a link to doc that more clearly explains what the removed verbiage was trying to explain.
1 parent 61d8402 commit c1f7054

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/Language/quoting.rakudoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,7 @@ no final newline.
572572
END
573573
=end code
574574

575-
To allow interpolation of variables use the C<qq> form, but you will then have
576-
to escape metacharacters C<\{> as well as C<$> if it is not the sigil for a
577-
defined variable. For example:
575+
To allow interpolation of variables use the L<C<qq>|/language/quoting#Interpolation:_qq> form. For example:
578576

579577
my $f = 'db.7.3.8';
580578
my $s = qq:to/END/;

0 commit comments

Comments
 (0)