in reply to Re^2: Invalid value for shared scalar
in thread Invalid value for shared scalar

Or is "true" multithreaded applications pretty much out of the question?

It's perfectly possible to create multithreaded applications. It's not the threading that is biting you, it's the sharing of objects.

For reasons of architecture which are too boring to repeat, you cannot (directly, and you don't want to know about the indirect mechanisms), share objects between threads. You can share data--that is scalars, hashes and arrays. The trick is to pass data between the threads and create objects within threads--for the exclusive use of that thread.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.