In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/d3f0c815eccb54ae88550259c06aa395b2274580?hp=39dc9d148281a0a05168f216359b3bdb696fec66>
- Log ----------------------------------------------------------------- commit d3f0c815eccb54ae88550259c06aa395b2274580 Author: Zefram <zef...@fysh.org> Date: Tue Dec 5 18:03:12 2017 +0000 remove doc hedge about autovivification We're clear by now that we're not going to change the default autovivification behaviour, so the documentation should no longer say that it "may be fixed in a future release". Fixes [perl #127712]. ----------------------------------------------------------------------- Summary of changes: pod/perlfunc.pod | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index e226c69764..1a7291dcf1 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2486,10 +2486,6 @@ This happens anywhere the arrow operator is used, including even here: if (exists $ref->{"Some key"}) { } print $ref; # prints HASH(0x80d3d5c) -This surprising autovivification in what does not at first--or even -second--glance appear to be an lvalue context may be fixed in a future -release. - Use of a subroutine call, rather than a subroutine name, as an argument to L<C<exists>|/exists EXPR> is an error. -- Perl5 Master Repository