summaryrefslogtreecommitdiff
path: root/pod/perlsub.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-01-09 22:29:17 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-01-09 22:29:17 -0800
commit47d235f1839af4a64487fd5c07a58ff1b937da7c (patch)
tree03e0eec62cf0635e487cb8078d2560d7ccd53f7f /pod/perlsub.pod
parent8505eec04db975056f12e93f306696ee3bf089ad (diff)
downloadperl-47d235f1839af4a64487fd5c07a58ff1b937da7c.tar.gz
Correct bad wording in perlsub
It seemed to imply that CORE:: syntax was introduced in 5.16. What it was supposed to say was that CORE:: breaking through the feature.pm barrier was introduced in 5.16. (Which sounds a little odd, as 5.16 is still in the future, but whatever.)
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 3ceddd40f3..1add95f8f6 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -443,7 +443,7 @@ Beginning with Perl 5.9.4, you can declare variables with the C<state>
keyword in place of C<my>. For that to work, though, you must have
enabled that feature beforehand, either by using the C<feature> pragma, or
by using C<-E> on one-liners (see L<feature>). Beginning with Perl 5.16,
-you can also write it as C<CORE::state>, which does not require the
+the C<CORE::state> form does not require the
C<feature> pragma.
For example, the following code maintains a private counter, incremented