Skip to content

Commit 3b3c29b

Browse files
committed
Document $*INIT-INSTANT
Fixes #510 Fixes #1462 Rakudo impl: rakudo/rakudo@6bdb2dd368 Spec: Raku/roast@84b48ec92b
1 parent 73521af commit 3b3c29b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

doc/Language/5to6-perlvar.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ translation.
236236
237237
=item $^T
238238
239-
Replaced in Perl 6 by C<$*INITTIME>. Unlike in Perl 5, this is not in seconds
240-
since epoch, but an C<Instant> object, which is measured in atomic seconds,
241-
with fractions.
239+
Replaced in Perl 6 by C<$*INIT-INSTANT>. Unlike in Perl 5, this is not in
240+
seconds since epoch, but an L<Instant> object, which is measured in atomic
241+
seconds, with fractions.
242242
243243
=item $PERL_VERSION
244244

doc/Language/variables.pod6

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,12 @@ X<|$*SPEC>X<|$*TMPDIR>X<|$*THREAD>X<|$*SCHEDULER>X<|$*USAGE>
10991099
------------------+--------------------------------------------
11001100
$*REPO | A variable holding information about modules installed/loaded
11011101
------------------+--------------------------------------------
1102+
$*INIT-INSTANT | An Instant object representing program statup time.
1103+
| In particular, this is when the core code starts up,
1104+
| so the value of $*INIT-INSTANT may be a few miliseconds
1105+
| earlier than C<INIT now> or even C<BEGIN now> executed
1106+
| in your program.
1107+
------------------+--------------------------------------------
11021108
$*TZ | The system's local timezone offset, as the number of B<seconds> from GMT
11031109
------------------+--------------------------------------------
11041110
$*CWD | The Current Working Directory.

0 commit comments

Comments
 (0)