in reply to Re^4: Locking hash values
in thread Locking hash values

If the OP wanted to lock the hash, lock(%hash) would be sufficient. However, he wants to lock an element of the hash.

Replies are listed 'Best First'.
Re^6: Locking hash values
by bucky0 (Initiate) on Dec 18, 2006 at 21:51 UTC
    yeah, I could lock the whole hash, but I'd much rather be able to lock hash-values to keep from blocking too much.