Skip to content

Commit 98267bb

Browse files
committed
the 'will' form excludes CATCH and CONTROL
1 parent a5f83cf commit 98267bb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

S04-control.pod

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Synopsis 4: Blocks and Statements
1212

1313
Created: 19 Aug 2004
1414

15-
Last Modified: 13 Jun 2013
16-
Version: 125
15+
Last Modified: 29 Jul 2013
16+
Version: 126
1717

1818
This document summarizes Apocalypse 4, which covers the block and
1919
statement syntax of Perl.
@@ -1456,6 +1456,9 @@ the closure as its topic:
14561456

14571457
our $h will enter { .rememberit() } will undo { .forgetit() };
14581458

1459+
Only phasers that can occur multiple times within a block are eligible
1460+
for this per-variable form.
1461+
14591462
Apart from C<CATCH> and C<CONTROL>, which can only occur once, most
14601463
of these can occur multiple times within the block. So they aren't
14611464
really traits, exactly--they add themselves onto a list stored in the

0 commit comments

Comments
 (0)