In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/4a46e268bd6392e63b29eccf1d0dc57a2a1e3e82?hp=040eaf4711b0a76debb90b5ec07ce2d13b5ea096>
- Log ----------------------------------------------------------------- commit 4a46e268bd6392e63b29eccf1d0dc57a2a1e3e82 Author: Ian Goodacre <[email protected]> Date: Thu Jun 16 18:26:18 2011 +1200 Typo fix in When to Still Use local() Signed-off-by: David Golden <[email protected]> ----------------------------------------------------------------------- Summary of changes: pod/perlsub.pod | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 81dbfa1..db398dd 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -893,7 +893,7 @@ can be used to create what is effectively a local function, or at least, a local alias. { - local *grow = \&shrink; # only until this block exists + local *grow = \&shrink; # only until this block exits grow(); # really calls shrink() move(); # if move() grow()s, it shrink()s too } -- Perl5 Master Repository
