summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-18 17:49:35 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-18 17:49:35 -0800
commitdd14f06c60285679a484c83c08394ed432babee1 (patch)
tree9b80d35dc7f453967afd86918f0bbb22f4f303ae
parent7d8b4ed398c3ccc6e5c4965c08a910c72d547f7f (diff)
downloadperl-dd14f06c60285679a484c83c08394ed432babee1.tar.gz
perldelta for new length() warning
-rw-r--r--pod/perldelta.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index a5fafecf1d..be2ee65235 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -371,6 +371,13 @@ XXX L<message|perldiag/"message">
=item *
+L<length() used on %s|perldiag/length() used on %s>
+
+This new warning occurs when C<length> is used on an array or hash, instead
+of C<scalar(@array)> or C<scalar(keys %hash)>.
+
+=item *
+
L<$[ used in %s (did you mean $] ?)|perldiag/"$[ used in %s (did you mean $] ?)">
This new warning exists to catch the mistaken use of C<$[> in version