Change 34825 by [EMAIL PROTECTED] on 2008/11/12 15:14:19
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"
Affected files ...
... //depot/perl/pod/perldiag.pod#500 edit
Differences ...
==== //depot/perl/pod/perldiag.pod#500 (text) ====
Index: perl/pod/perldiag.pod
--- perl/pod/perldiag.pod#499~34353~ 2008-09-11 15:11:32.000000000 -0700
+++ perl/pod/perldiag.pod 2008-11-12 07:14:19.000000000 -0800
@@ -4677,8 +4677,13 @@
=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 @@
=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
End of Patch.