summaryrefslogtreecommitdiff
path: root/pod/perlsub.pod
diff options
context:
space:
mode:
authorIan Goodacre <ian@debian.lan>2011-06-16 18:26:18 +1200
committerDavid Golden <dagolden@cpan.org>2011-06-16 06:45:47 -0400
commit4a46e268bd6392e63b29eccf1d0dc57a2a1e3e82 (patch)
treea1452987096537eb389854d4c4993c51332533ed /pod/perlsub.pod
parent040eaf4711b0a76debb90b5ec07ce2d13b5ea096 (diff)
downloadperl-4a46e268bd6392e63b29eccf1d0dc57a2a1e3e82.tar.gz
Typo fix in When to Still Use local()
Signed-off-by: David Golden <dagolden@cpan.org>
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r--pod/perlsub.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 81dbfa1a22..db398dd723 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
}