From 066b3bab08aa72e636014034f681ed7cab8c7bdf Mon Sep 17 00:00:00 2001 From: "Wenzel P. P. Peppmeyer" Date: Sun, 24 Jul 2016 02:32:44 +0200 Subject: [PATCH] index \ in 4 different spots --- doc/Language/containers.pod6 | 1 + doc/Language/quoting.pod6 | 1 + doc/Language/variables.pod6 | 1 + doc/Type/Scalar.pod6 | 1 + 4 files changed, 4 insertions(+) diff --git a/doc/Language/containers.pod6 b/doc/Language/containers.pod6 index b25ebad6d..8edf691f4 100644 --- a/doc/Language/containers.pod6 +++ b/doc/Language/containers.pod6 @@ -123,6 +123,7 @@ changes the contents of the other. You've seen this situation before: it is exactly what happened with the signature parameter marked as C. +X<|\,container binding Sigilless variables also bind by default and so do parameters with the trait C. my $a = 42; diff --git a/doc/Language/quoting.pod6 b/doc/Language/quoting.pod6 index 7dc876676..58bee42f7 100644 --- a/doc/Language/quoting.pod6 +++ b/doc/Language/quoting.pod6 @@ -74,6 +74,7 @@ L B<">My favorite color is B<$color>!B<"> My favorite color is blue! +X<|\,quoting> The C form -- usually written using double quotes -- allows for interpolation of backslash sequences and variables, i.e., variables can be written within the string so that the content of the variable is inserted into diff --git a/doc/Language/variables.pod6 b/doc/Language/variables.pod6 index 1e1e5ae4b..48ad5cfa2 100644 --- a/doc/Language/variables.pod6 +++ b/doc/Language/variables.pod6 @@ -126,6 +126,7 @@ C<$num = 42> is not is own separate expression. See L for more details on precedence. =head2 Sigilless variables +X<|\,sigilless variables> It is possible to create "variables" in Perl 6 that do not have sigils: diff --git a/doc/Type/Scalar.pod6 b/doc/Type/Scalar.pod6 index 8cc25a9e7..b294ddd0a 100644 --- a/doc/Type/Scalar.pod6 +++ b/doc/Type/Scalar.pod6 @@ -68,6 +68,7 @@ alter the value of both variables by altering only one of them: $b = 2; $a.say; # says "2" +X<|\,sigilless scalar> SSA-style constants bind directly to their value with no intervening C, even when C<=>/assignment is used. They may be forced to use a C by assigning a C<$>-sigiled variable