Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S04] small nit
let and temp are prefix operators, not ordinary functions
  • Loading branch information
moritz committed May 27, 2012
1 parent bc016c6 commit 8c3efe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S04-control.pod
Expand Up @@ -176,7 +176,7 @@ get separate state variables. However, recursive calls to the same
clone use the same state variable.

Perl 5's "C<local>" function has been renamed to C<temp> to better
reflect what it does. There is also a C<let> function that sets a
reflect what it does. There is also a C<let> prefix operator that sets a
hypothetical value. It works exactly like C<temp>, except that the
value will be restored only if the current block exits unsuccessfully.
(See Definition of Success below for more.) C<temp> and C<let> temporize
Expand Down

0 comments on commit 8c3efe4

Please sign in to comment.