diff options
author | Ian Goodacre <ian@debian.lan> | 2011-06-16 18:26:18 +1200 |
---|---|---|
committer | David Golden <dagolden@cpan.org> | 2011-06-16 06:45:47 -0400 |
commit | 4a46e268bd6392e63b29eccf1d0dc57a2a1e3e82 (patch) | |
tree | a1452987096537eb389854d4c4993c51332533ed /pod/perlsub.pod | |
parent | 040eaf4711b0a76debb90b5ec07ce2d13b5ea096 (diff) | |
download | perl-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.pod | 2 |
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 } |