diff options
author | Abigail <abigail@abigail.be> | 2016-11-23 22:52:36 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2017-01-16 19:18:13 +0100 |
commit | 9fc8eee0cf5a8b99e1ae152c10fed4cfe9e4f682 (patch) | |
tree | 0cda15e032ef21d26d52ab2380e1a57947fdb71b /pod/perlfunc.pod | |
parent | 6ef4f8b7ef62d23d0b240c6f964676e87ae049c2 (diff) | |
download | perl-9fc8eee0cf5a8b99e1ae152c10fed4cfe9e4f682.tar.gz |
Jumping into constructs will be fatal in 5.28.
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 1e32cca6dd..89b801b6a7 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3285,7 +3285,8 @@ Also, unlike most named operators, this has the same precedence as assignment. Use of C<goto LABEL> or C<goto EXPR> to jump into a construct is -deprecated and will issue a warning. Even then, it may not be used to +deprecated and will issue a warning; it will be a fatal error in +Perl 5.28. Even then, it may not be used to go into any construct that requires initialization, such as a subroutine or a C<foreach> loop. It also can't be used to go into a construct that is optimized away. |