From: Slaven Rezic Date: Wed, 28 Aug 2002 17:08:50 +0000 (+0200) Subject: typos in Hash::Util documentation X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0082b4c8d66114f551ba44eea65719b23d51b4d7;p=p5sagit%2Fp5-mst-13.2.git typos in Hash::Util documentation Message-Id: <200208281508.g7SF8o9Z015197@vran.herceg.de> p4raw-id: //depot/perl@17812 --- diff --git a/lib/Hash/Util.pm b/lib/Hash/Util.pm index f6dcd7e..d5e0a16 100644 --- a/lib/Hash/Util.pm +++ b/lib/Hash/Util.pm @@ -17,7 +17,7 @@ Hash::Util - A selection of general-utility hash subroutines =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); @@ -62,7 +62,7 @@ given it restricts it to its current keyset. No more keys can be 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. @@ -108,8 +108,8 @@ sub unlock_keys (\%) { =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.