Skip to content

Commit 0cfc6e5

Browse files
committed
Little changes to explaination of $*PERL.
I don't believe we need anymore to keep track of the 6.b version. Adjusted the example to v6.c, stating that $*PERL is an object.
1 parent 50382c5 commit 0cfc6e5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/Language/5to6-perlvar.pod6

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,11 @@ C<OLDPWD> is missing from Perl 6's %ENV.
167167
168168
=item $]
169169
170-
The version of perl is returned by C<$*PERL.version>. For the beta this was
171-
"v6.b" with C<$*PERL> containing "Perl 6 (6.b)".
170+
The running version of Perl 6 is kept by C<$*PERL> special variable, that is an object.
171+
The running version is retrieved via C<$*PERL.version>, which returns something
172+
like C<v6.c>; the full stringified version of the Perl interpreter is obtained
173+
via C<$*PERL.Str>, which returns something like C<Perl 6 (6.c)>.
174+
172175
173176
=item $SYSTEM_FD_MAX
174177

0 commit comments

Comments
 (0)