projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c40be
)
[perl #21396] documentation error in subs.pm
author
Juerd Waalboer
<juerd@c3.convolution.nl>
Sat, 28 Jan 2012 20:11:17 +0000
(12:11 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sat, 28 Jan 2012 20:14:49 +0000
(12:14 -0800)
lib/subs.pm
patch
|
blob
|
history
diff --git
a/lib/subs.pm
b/lib/subs.pm
index
e5a9aa8
..
6f10acb
100644
(file)
--- a/
lib/subs.pm
+++ b/
lib/subs.pm
@@
-19,7
+19,7
@@
even before they're declared.
Unlike pragmas that affect the C<$^H> hints variable, the C<use vars> and
C<use subs> declarations are not BLOCK-scoped. They are thus effective
-for the entire
fil
e in which they appear. You may not rescind such
+for the entire
packag
e in which they appear. You may not rescind such
declarations with C<no vars> or C<no subs>.
See L<perlmodlib/Pragmatic Modules> and L<strict/strict subs>.