Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

the 'will' form excludes CATCH and CONTROL

  • Loading branch information...
commit 98267bbe641722eaab257487ea02d506b1c1cc9a 1 parent a5f83cf
@TimToady TimToady authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 S04-control.pod
View
7 S04-control.pod
@@ -12,8 +12,8 @@ Synopsis 4: Blocks and Statements
Created: 19 Aug 2004
- Last Modified: 13 Jun 2013
- Version: 125
+ Last Modified: 29 Jul 2013
+ Version: 126
This document summarizes Apocalypse 4, which covers the block and
statement syntax of Perl.
@@ -1456,6 +1456,9 @@ the closure as its topic:
our $h will enter { .rememberit() } will undo { .forgetit() };
+Only phasers that can occur multiple times within a block are eligible
+for this per-variable form.
+
Apart from C<CATCH> and C<CONTROL>, which can only occur once, most
of these can occur multiple times within the block. So they aren't
really traits, exactly--they add themselves onto a list stored in the
Please sign in to comment.
Something went wrong with that request. Please try again.