Skip to content

Commit 1310d51

Browse files
committed
Explains success closes #905
1 parent 3206fec commit 1310d51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/phasers.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ known as I<phasers>, since they generally mark the transition from one phase of
1515
computing to another. For instance, a C<CHECK> block is called at the end of
1616
compiling a compilation unit. Other kinds of phasers can be installed as well;
1717
these are automatically called at various times as appropriate, and some of
18-
them respond to various control exceptions and exit values.
18+
them respond to various control exceptions and exit values. For instance, some phasers might be called if the exit from a block is successful or not, with I<success> in this case defined by returning with a defined value or list without any C<Failure> or exception in the process.
1919
2020
Here is a summary:
2121
@@ -44,7 +44,7 @@ CONTROL {...} # catch control exceptions, before LEAVE
4444
QUIT {...} # catch async exceptions within a whenever-block, runs very last
4545
4646
COMPOSE {...} # when a role is composed into a class
47-
CLOSE {...} # appears in a supply block, called when the supply is closed
47+
CLOSE {...} # appears in a supply block, called when the supply is closed
4848
=end code
4949
5050
Phasers marked with a C<*> have a run-time value, and if evaluated earlier than

0 commit comments

Comments
 (0)