develooper Front page | perl.perl5.porters | Postings from July 2019

Re: [perl #133809] Perl silently adds a key to hash

Thread Previous
From:
demerphq
Date:
July 13, 2019 20:58
Subject:
Re: [perl #133809] Perl silently adds a key to hash
Message ID:
CANgJU+WO1cfK=LxzPO+J8EVVrP7DKPLYRjRbbOVokQsE3S83Aw@mail.gmail.com
To be fair that pragma is not core and afaik not efficient. But other than
that, yes.😁

Yves

On Sat, 13 Jul 2019, 22:52 Karen Etheridge, <perl@froods.org> wrote:

> On Sat, Jul 13, 2019 at 10:43 AM Deven T. Corzine <deven@ties.org> wrote:
>
> > I would love to have the other discussion about whether the current
> behavior could be changed (perhaps with a pragma) to avoid autovivification
>
> We have one.
>
>     no autovivification;
>
> See https://metacpan.org/pod/autovivification.
>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About