=head1 SYNOPSIS
- use Hash::Util qw(lock_keys unlock_keys
+ use Hash::Util qw(lock_keys unlock_keys
lock_value unlock_value
lock_hash unlock_hash);
added. delete() and exists() will still work, but it does not effect
the set of allowed keys.
- unlock_keys(%hash;)
+ unlock_keys(%hash);
Removes the restriction on the %hash's keyset.
=item unlock_value
- lock_key (%hash, $key);
- unlock_key(%hash, $key);
+ lock_value (%hash, $key);
+ unlock_value(%hash, $key);
Locks and unlocks an individual key of a hash. The value of a locked
key cannot be changed.