Skip to content

Commit dc23d9f

Browse files
committed
"emit" also generates a control exception
1 parent 818e290 commit dc23d9f

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
@@ -396,8 +396,8 @@ Runs when an exception is raised by the current block, before the LEAVE phase.
396396
=head2 X<CONTROL|Phasers, CONTROL>
397397
398398
Runs when a control exception is raised by the current block, before the LEAVE
399-
phase. It is raised by C<return>, C<fail>, C<redo>, C<next>, C<last>, C<take>,
400-
C<warn>, C<proceed> and C<succeed>.
399+
phase. It is raised by C<return>, C<fail>, C<redo>, C<next>, C<last>, C<emit>,
400+
C<take>, C<warn>, C<proceed> and C<succeed>.
401401
402402
say elems gather {
403403
CONTROL {

0 commit comments

Comments
 (0)