summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgs@consttype.org>2009-11-21 20:01:05 +0100
committerRafael Garcia-Suarez <rgs@consttype.org>2009-11-21 20:01:05 +0100
commit0b98bec9fd8d0513cb1904db85614d287298f7f8 (patch)
treeae92c3c95e700891c0103b3807def9d131c725a8 /pod/perldiag.pod
parentb500e03bf95eb884a53407409b4e755d303171a4 (diff)
downloadperl-0b98bec9fd8d0513cb1904db85614d287298f7f8.tar.gz
Add new warning introduced by last patch in perldiag.
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 c46927c18b..42fe77ecee 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -4783,6 +4783,11 @@ to access the filehandle slot within a typeglob.
operator. Since C<split> always tries to match the pattern
repeatedly, the C</g> has no effect.
+=item Use of "goto" to jump into a construct is deprecated
+
+(D deprecated) Using C<goto> to jump from an outer scope into an inner
+scope is deprecated and should be avoided.
+
=item Use of inherited AUTOLOAD for non-method %s() is deprecated
(D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> subroutines