Document hashref_locked() and hashref_unlocked(). Add tests for them, include debugg...
authorjkeenan <jkeenan@cpan.org>
Sat, 12 May 2012 05:32:38 +0000 (22:32 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 21 May 2012 23:51:45 +0000 (16:51 -0700)
commit5114d26397c43471da5a7b6095cacf2201878986
treed366466f0b5626eee1aa41420907131094d9509f
parentc657ea3a318deec149577f076f8f6b53eb87c41b
Document hashref_locked() and hashref_unlocked().  Add tests for them, include debugging by Father C++.

Make lock_hash_recurse() unlock_hash_recurse() exportable; include them in
SYNOPSIS; write tests for them.

Revise 'carp test' test. In general, tests of error messages should be written
with like() rather than is().  Why?  Because we rarely want to test for the
complete error message if that requires us to exactly calculate strings such
as the line number at which an error occurred.
ext/Hash-Util/lib/Hash/Util.pm
ext/Hash-Util/t/Util.t