return undef is of questionable style.
[p5sagit/p5-mst-13.2.git] / lib / Hash / Util.pm
index a1c9e64..f6dcd7e 100644 (file)
@@ -94,14 +94,14 @@ sub lock_keys (\%;@) {
         Internals::SvREADONLY %$hash, 1;
     }
 
-    return undef;
+    return;
 }
 
 sub unlock_keys (\%) {
     my($hash) = shift;
 
     Internals::SvREADONLY %$hash, 0;
-    return undef;
+    return;
 }
 
 =item lock_value