File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1047,7 +1047,7 @@ the block to the caught exception.
1047
1047
1048
1048
= head2 Compile-time variables
1049
1049
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 >
1051
1051
1052
1052
All compile time variables have a question mark as part of the twigil.
1053
1053
Being I < compile time > they cannot
@@ -1056,7 +1056,7 @@ the program.
1056
1056
The most common compile time variables are the following:
1057
1057
1058
1058
= for table
1059
- $?FILE Which file am I in?
1059
+ X < $?FILE|$?FILE > Which file am I in?
1060
1060
$?LINE Which line am I at?
1061
1061
::?CLASS Which class am I in?
1062
1062
%?LANG What is the current set of interwoven languages?
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ All operators have a ASCII equivalent, but they are more
95
95
verbose and do not correspond exactly to the mathematical operator or constant
96
96
they often represent. Please use that syntax whenever possible.
97
97
98
-
99
98
### Prefer the %() form of declaring hashes
100
99
101
100
my %hash := { this => "is", a => "hash" }; # Correct, but BAD
@@ -120,6 +119,8 @@ to actually compute its terms until they are really needed.
120
119
121
120
## Perl 5 and Perl 6
122
121
122
+ Style guidelines related to Perl * .
123
+
123
124
### Don't reference Perl 5 unless in a 5-to-6 document or related document
124
125
125
126
We are not expecting our users to have to know Perl 5 to learn Perl 6, so this
You can’t perform that action at this time.
0 commit comments