summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-11-12 15:14:19 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-11-12 15:14:19 +0000
commit83ce3e12e086bc5a21f37af9378b7c01fa5d73d8 (patch)
tree808e2944b2349570d1d4f4fb7e771ef9986655a6 /pod
parent3bcc0c4bdd9457f6924030e81994a3583d07a8cb (diff)
downloadperl-83ce3e12e086bc5a21f37af9378b7c01fa5d73d8.tar.gz
Some deprecated warnings were also in the syntax category
(one of them was spotted by Abigail.) Plus, document the undocumented warning "Use of comma-less variable list is deprecated" p4raw-id: //depot/perl@34825
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod13
1 files changed, 9 insertions, 4 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 14f1368af7..9d4d3c1317 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -4677,8 +4677,13 @@ returns no useful value. See L<perlmod>.
=item Use of bare << to mean <<"" is deprecated
-(D deprecated) You are now encouraged to use the explicitly quoted form
-if you wish to use an empty line as the terminator of the here-document.
+(D deprecated, W syntax) You are now encouraged to use the explicitly quoted
+form if you wish to use an empty line as the terminator of the here-document.
+
+=item Use of comma-less variable list is deprecated
+
+(D deprecated, W syntax) The values you give to a format should be
+separated by commas, not just aligned on a line.
=item Use of chdir('') or chdir(undef) as chdir() deprecated
@@ -4727,8 +4732,8 @@ repeatedly, the C</g> has no effect.
=item Use of implicit split to @_ is deprecated
-(D deprecated) It makes a lot of work for the compiler when you clobber
-a subroutine's argument list, so it's better if you assign the results
+(D deprecated, W syntax) It makes a lot of work for the compiler when you
+clobber a subroutine's argument list, so it's better if you assign the results
of a split() explicitly to an array (or list).
=item Use of inherited AUTOLOAD for non-method %s() is deprecated