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

Does Hash::Util really provide "the ability to lock an individualkey so it cannot be deleted"?

Thread Next
From:
Eric Brine
Date:
July 25, 2019 18:00
Subject:
Does Hash::Util really provide "the ability to lock an individualkey so it cannot be deleted"?
Message ID:
CALJW-qGv6ByRrn=4kAP-fyaitboT2kqyg-ecxZFvzcSyEtHShA@mail.gmail.com
The documentation for Hash::Util says:

5.8.0 introduces the ability to restrict a hash to a certain set of keys.
> No keys outside of this set can be added. It also introduces the ability to
> lock an individual key so it cannot be deleted and the ability to ensure
> that an individual value cannot be changed.
>

How does one lock an individual key so it cannot be deleted?

- Eric

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