diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-06-30 17:31:32 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-09-15 22:44:52 -0700 |
commit | 8767b1ab5e2415da830be5abebbce9af2142fb86 (patch) | |
tree | 22acd547fc075dfcb0c493fd1ba868429460c521 /pod/perldiag.pod | |
parent | 31c15ce5372b770c3ca899df6cf102f1ed6866ba (diff) | |
download | perl-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.pod | 2 |
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. |