From: Rafael Garcia-Suarez Date: Thu, 15 Apr 2010 08:54:32 +0000 (+0200) Subject: [perl #74372] := warning not in perldiag X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=036e1e65778b6e2b51a21e4ce6d5b694f2a3ba03;p=p5sagit%2Fp5-mst-13.2.git [perl #74372] := warning not in perldiag Missing warning description noticed by Zefram --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 4e9f04b..edccac1 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4880,6 +4880,14 @@ modifier is not presently meaningful in substitutions. use the /g modifier. Currently, /c is meaningful only when /g is used. (This may change in the future.) +=item Use of := for an empty attribute list is deprecated + +(D deprecated) The construction C currently +parses correctly in perl, being equivalent to C +(applying an empty attribute list to C<$x>). This useless +construct is now deprecated, so C<:=> can be reclaimed as a new +operator in the future. + =item Use of freed value in iteration (F) Perhaps you modified the iterated array within the loop?