Skip to content

Commit c6c15df

Browse files
authored
clarify that this section is only about *pre-defined* dynamic variables
1 parent 75ebc53 commit c6c15df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Language/variables.rakudoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,8 +1525,8 @@ sub get-file-content {
15251525

15261526
=head2 Dynamic variables
15271527

1528-
All dynamically scoped variables have the C<*> twigil, and their name is
1529-
(conventionally) written in uppercase.
1528+
The pre-defined dynamically scoped variables all have the L<C<*> twigil|#The_*_twigil>,
1529+
and their name is (conventionally) written in uppercase.
15301530

15311531
X<|Variables,$*ARGFILES>X<|Variables,@*ARGS>
15321532
=head3 Argument related variables
@@ -1867,7 +1867,7 @@ To activate this only for a lexical scope:
18671867
my $*RAT-OVERFLOW = FatRat;
18681868
=end code
18691869

1870-
How does that work? The $*RAT-OVERFLOW variable is supposed to contain
1870+
How does that work? The C<$*RAT-OVERFLOW> variable is supposed to contain
18711871
a class or instance on which the C<UPGRADE-RAT> method will be called
18721872
when a Rat overflows. So you can introduce your own behavior by
18731873
creating a class with an C<UPGRADE-RAT> method in it.

0 commit comments

Comments
 (0)