In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/8514fcfe19dd1f0b8c39f9607592a853ac68913f?hp=b66d79a6843486dbfe3a6f0a5fb78ffb86dd82e2>
- Log ----------------------------------------------------------------- commit 8514fcfe19dd1f0b8c39f9607592a853ac68913f Author: David Mitchell <da...@iabyn.com> Date: Mon Jun 5 15:33:42 2017 +0100 closure.t: fix typo M t/op/closure.t commit b74e7b83d6dd28347835f9578069a8c4fddf0e6f Author: David Mitchell <da...@iabyn.com> Date: Mon Jun 5 15:32:10 2017 +0100 perldata.pod: clarify hash in scalar context. RT ##131166 M pod/perldata.pod ----------------------------------------------------------------------- Summary of changes: pod/perldata.pod | 6 +++--- t/op/closure.t | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pod/perldata.pod b/pod/perldata.pod index 3b43d258a0..b390e67f69 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -399,9 +399,9 @@ leave nothing to doubt: $element_count = scalar(@whatever); -If you evaluate a hash in scalar context, it returns false if the -hash is empty. If there are any key/value pairs, it returns true. -A more precise definition is version dependent. +If you evaluate a hash in scalar context, it returns a false value if +the hash is empty. If there are any key/value pairs, it returns a +true value. A more precise definition is version dependent. Prior to Perl 5.25 the value returned was a string consisting of the number of used buckets and the number of allocated buckets, separated diff --git a/t/op/closure.t b/t/op/closure.t index 9d3de7f682..042f15e0c9 100644 --- a/t/op/closure.t +++ b/t/op/closure.t @@ -611,7 +611,7 @@ f16302(); } { - # bugid #23265 - this used to coredump during destruction of PL_maincv + # bugid #23265 - this used to coredump during destruction of PL_main_cv # and its children fresh_perl_is(<< '__EOF__', "yxx\n", {stderr => 1}, 'RT #23265'); -- Perl5 Master Repository