This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #95538] perldiag.pod on defined %hash
authorKevin Ryde <user42@zip.com.au>
Mon, 25 Jul 2011 04:08:15 +0000 (21:08 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 25 Jul 2011 04:10:59 +0000 (21:10 -0700)
commit16546e45435f334cb76d83d4b33f1e01041a9aab
treef6dbf5469f6ee61ec01645d5fe1f2bffbd904c88
parent6027ee478b8d28c43e93e742f6cce6ac6da97a4d
[perl #95538] perldiag.pod on defined %hash

I found the perldiag.pod description of item "defined(%hash) is
deprecated" unclear.

At first I thought it was threatening another incompatible change, but
if I'm not mistaken it's merely that defined %hash has only ever been a
check for non-empty, which may not be what you intended.  If so then
perhaps a wording like the following could make it clearer,
pod/perldiag.pod