diff options
author | Aaron Priven <aaron@priven.com> | 2015-08-04 20:08:56 -0400 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2015-08-04 20:13:22 -0400 |
commit | 1437ab4a779eb2e9dcbcff5147fbfa549a62efd3 (patch) | |
tree | c68032d13beb56397fdb3ea77410b4c60ec1f26f /ext/Hash-Util | |
parent | 0ddb27d769ebb30fe5ea10e4ee633e6df888cb3a (diff) | |
download | perl-1437ab4a779eb2e9dcbcff5147fbfa549a62efd3.tar.gz |
Added {unlock,lock}_hashref_recurse to @EXPORT_OK
In Hash::Util, the functions lock_hashref_recurse and
unlock_hashref_recurse were omitted from the @EXPORT_OK array,
the synopsis in the POD, and the test for exported functions in
t/Util.t. This commit adds those functions in all three places.
For: RT #125730
Diffstat (limited to 'ext/Hash-Util')
-rw-r--r-- | ext/Hash-Util/lib/Hash/Util.pm | 2 | ||||
-rw-r--r-- | ext/Hash-Util/t/Util.t | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ext/Hash-Util/lib/Hash/Util.pm b/ext/Hash-Util/lib/Hash/Util.pm index 40de862d18..a947b9a76e 100644 --- a/ext/Hash-Util/lib/Hash/Util.pm +++ b/ext/Hash-Util/lib/Hash/Util.pm @@ -31,6 +31,7 @@ our @EXPORT_OK = qw( hash_seed hash_value hv_store bucket_stats bucket_stats_formatted bucket_info bucket_array lock_hash_recurse unlock_hash_recurse + lock_hashref_recurse unlock_hashref_recurse hash_traversal_mask ); @@ -78,6 +79,7 @@ Hash::Util - A selection of general-utility hash subroutines hash_seed hash_value hv_store bucket_stats bucket_info bucket_array lock_hash_recurse unlock_hash_recurse + lock_hashref_recurse unlock_hashref_recurse hash_traversal_mask ); diff --git a/ext/Hash-Util/t/Util.t b/ext/Hash-Util/t/Util.t index b9be7bd5a7..4a12fd1764 100644 --- a/ext/Hash-Util/t/Util.t +++ b/ext/Hash-Util/t/Util.t @@ -44,6 +44,7 @@ BEGIN { hash_seed hash_value bucket_stats bucket_info bucket_array hv_store lock_hash_recurse unlock_hash_recurse + lock_hashref_recurse unlock_hashref_recurse ); plan tests => 244 + @Exported_Funcs; use_ok 'Hash::Util', @Exported_Funcs; |