File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -397,6 +397,8 @@ Note: Slangs are NYI in Rakudo.
397
397
The C < ~ > twigil is for referring to sublanguages (called slangs). The
398
398
following are useful:
399
399
400
+ X < |$~MAIN > X < |$~Quote > X < |$~Quasi > X < |$~Regex > X < |$~Trans > X < |$~P5Regex >
401
+
400
402
$~MAIN the current main language (e.g. Perl statements)
401
403
$~Quote the current root of quoting language
402
404
$~Quasi the current root of quasiquoting language
@@ -1055,6 +1057,8 @@ the block to the caught exception.
1055
1057
1056
1058
= head2 Compile-time variables
1057
1059
1060
+ X < |$?FILE > X < |$?LINE > X < |::?CLASS > X < |&?ROUTINE > X < |&?BLOCK > X < |%?LANG > X < |%?RESOURCES >
1061
+
1058
1062
= for table
1059
1063
$?FILE Which file am I in?
1060
1064
$?LINE Which line am I at?
@@ -1066,6 +1070,8 @@ the block to the caught exception.
1066
1070
1067
1071
Other compile-time variables:
1068
1072
1073
+ X < |$?SCOPE > X < |$?PACKAGE > X < |$?MODULE > X < |$?CLASS > X < |$?ROLE > X < |$?GRAMMAR > X < |$?TABSTOP > X < |$?USAGE > X < |$?ENC >
1074
+
1069
1075
= for table
1070
1076
$?SCOPE Which lexical scope am I in?
1071
1077
$?PACKAGE Which package am I in?
You can’t perform that action at this time.
0 commit comments