summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-06-30 17:31:32 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-09-15 22:44:52 -0700
commit8767b1ab5e2415da830be5abebbce9af2142fb86 (patch)
tree22acd547fc075dfcb0c493fd1ba868429460c521 /pod/perldiag.pod
parent31c15ce5372b770c3ca899df6cf102f1ed6866ba (diff)
downloadperl-8767b1ab5e2415da830be5abebbce9af2142fb86.tar.gz
Don’t allow name after our/state sub
It was a mistake that this was ever allowed.
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 3618d7972c..6d4eea0b7a 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2802,7 +2802,7 @@ blank.
(F) A double-quoted string ended with "\c", without the required control
character name.
-=item Missing name in "my sub"
+=item Missing name in "%s sub"
(F) The reserved syntax for lexically scoped subroutines requires that
they have a name with which they can be found.