...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
In reply to Re^4: communication across threads using hash of hashes
by zentara
in thread communication across threads using hash of hashes
by stevehicks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |