in reply to how to share array of hashes among several threads?
If the body of your post related to it's title and if your code compiled with strict and warnings and if I didn't have to fire up a webserver to see the output that could just as easily be displayed on the console, and if it was at all clear what it is that you are trying to achieve, I'd be only too willing to help with this.
As it is, even having re-written your (original) code so that it compiles clean, is readable, and writes simple text to the console rather than unintelligable html/javascript, and having corrected a few of the more obvious errors like creating multiple threads and assigning them all to the same variable, I'm still at a complete losss as to what you are trying to achieve.
So, try posting a short, simple textual, description of what you are hoping to achieve (Not how you think it should be achieved and (no more code!)) and I'll have another go.
|
|---|