in reply to Re^3: communication across threads using hash of hashes
in thread communication across threads using hash of hashes

If I declare the scalar with "our"

...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


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku
  • Comment on Re^4: communication across threads using hash of hashes