Skip to content

Commit 9753d61

Browse files
committed
Changing indexing place for a variable plus minor stuff
1 parent 5aa40ef commit 9753d61

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/Language/variables.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ the block to the caught exception.
10471047
10481048
=head2 Compile-time variables
10491049
1050-
X<|$?FILE>X<|$?LINE>X<|::?CLASS>X<|&?ROUTINE>X<|&?BLOCK>X<|%?LANG>X<|%?RESOURCES>
1050+
X<|$?LINE>X<|::?CLASS>X<|&?ROUTINE>X<|&?BLOCK>X<|%?LANG>X<|%?RESOURCES>
10511051
10521052
All compile time variables have a question mark as part of the twigil.
10531053
Being I<compile time> they cannot
@@ -1056,7 +1056,7 @@ the program.
10561056
The most common compile time variables are the following:
10571057
10581058
=for table
1059-
$?FILE Which file am I in?
1059+
X<$?FILE|$?FILE> Which file am I in?
10601060
$?LINE Which line am I at?
10611061
::?CLASS Which class am I in?
10621062
%?LANG What is the current set of interwoven languages?

writing-docs/STYLEGUIDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ All operators have a ASCII equivalent, but they are more
9595
verbose and do not correspond exactly to the mathematical operator or constant
9696
they often represent. Please use that syntax whenever possible.
9797

98-
9998
### Prefer the %() form of declaring hashes
10099

101100
my %hash := { this => "is", a => "hash" }; # Correct, but BAD
@@ -120,6 +119,8 @@ to actually compute its terms until they are really needed.
120119

121120
## Perl 5 and Perl 6
122121

122+
Style guidelines related to Perl *.
123+
123124
### Don't reference Perl 5 unless in a 5-to-6 document or related document
124125

125126
We are not expecting our users to have to know Perl 5 to learn Perl 6, so this

0 commit comments

Comments
 (0)