We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc85695 commit 8210e65Copy full SHA for 8210e65
doc/Language/phasers.pod6
@@ -389,4 +389,13 @@ after the C<whenever> block it is placed within finishes.
389
This phaser is similar to setting the C<quit> routine while tapping a Supply
390
with C<tap>.
391
392
+=head1 DOC phasers
393
+
394
+=head2 X<DOC|DOC (phasers)>
395
396
+The phasers C<BEGIN>, C<CHECK> and C<INIT> are run only in documentation mode when
397
+prefixed with the C<DOC> keyword. The compiler is in documentation when run with C<--doc>.
398
399
+ DOC INIT { say 'init' } # prints 'init' at initialization time when in documentation mode.
400
401
=end pod
0 commit comments