in reply to Re^2: Locking hash values
in thread Locking hash values
I think that should be
lock ${$hash{key}};
The idea is that $scalar is shared, and therefore lockable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Locking hash values
by bucky0 (Initiate) on Dec 18, 2006 at 18:55 UTC | |
|
Re^4: Locking hash values
by caelifer (Scribe) on Dec 18, 2006 at 19:35 UTC | |
by ikegami (Patriarch) on Dec 18, 2006 at 19:45 UTC | |
by bucky0 (Initiate) on Dec 18, 2006 at 21:51 UTC |