in reply to Re^3: communication across threads using hash of hashes
in thread communication across threads using hash of hashes
...see perl global vars in subroutines and Why is 'our' good?
....also, get into the habit of locking your shared variables...... i fell into the lazy habit of not locking shared variables on my single cpu machine, and it would work for me, but not on the increasingly common multi-cpu machines
|
|---|