in reply to Deleting Hash Elements

If you are sharing the hash using either the :shared attribute or the share() function from threads::shared (which is the correct way to do things), then you should be using the lock() function (also from threads::shared) to interlock around accesses to the shared data.

I think that using either a file lock, or Hash::Util for this purpose is dubious.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail