summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2015-08-17 21:59:41 +0200
committerLukas Mai <l.mai@web.de>2015-08-18 22:34:22 +0200
commitf3106bc89eb4bbffee5ca7cb67bd63d2f3ce87bf (patch)
treee76f7aee1fd75771d5e78d487e7131761c494f4d /pod/perldiag.pod
parent9cd8e8a586b62830fc3c73f9acb7411a1639c3ce (diff)
downloadperl-f3106bc89eb4bbffee5ca7cb67bd63d2f3ce87bf.tar.gz
disallow nested declarations [perl #125587] [perl #121058]
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index f47fd3efcb..2effeeb875 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -1217,6 +1217,11 @@ missing. You need to figure out where your CRTL misplaced its environ
or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not
searched.
+=item Can't redeclare "%s" in "%s"
+
+(F) A "my", "our" or "state" declaration was found within another declaration,
+such as C<my ($x, my($y), $z)> or C<our (my $x)>.
+
=item Can't "redo" outside a loop block
(F) A "redo" statement was executed to restart the current block, but