In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/036e1e65778b6e2b51a21e4ce6d5b694f2a3ba03?hp=7dcb3b25fc4113f0eeb68d0d3c47ccedd5ff3f2a>

- Log -----------------------------------------------------------------
commit 036e1e65778b6e2b51a21e4ce6d5b694f2a3ba03
Author: Rafael Garcia-Suarez <[email protected]>
Date:   Thu Apr 15 10:54:32 2010 +0200

    [perl #74372] := warning not in perldiag
    
    Missing warning description noticed by Zefram
-----------------------------------------------------------------------

Summary of changes:
 pod/perldiag.pod |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

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<my $x := 42> currently
+parses correctly in perl, being equivalent to C<my $x : = 42>
+(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?

--
Perl5 Master Repository

Reply via email to