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

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

Thread Previous | Thread Next
From:
Karen Etheridge
Date:
July 13, 2019 20:52
Subject:
Re: [perl #133809] Perl silently adds a key to hash
Message ID:
CAPJsHfAdQXuwQ4XyD9VY83niw0Vz3viiohqFEFW2ptJTt+TebQ@mail.gmail.com
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 | Thread Next


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