more useful options | |
PerlMonks |
Re^3: Chat server impossible with Perl?by BrowserUk (Patriarch) |
on Feb 05, 2005 at 00:45 UTC ( [id://428264]=note: print w/replies, xml ) | Need Help?? |
I'd be fascinated to know how to share globs between Perl threads. Supersearch for a thread by me with a title including "threads" and "globs" for my initial experiments in doing this. Basically, you need to pass a "handle" to a glob through a shared variable in such a way that threads::shared doesn't stick it's nose in and reject you. Be warned: The technique I used there has problems. I've a couple of other ways of doing it that I am experimenting with, but I would rather keep them quiet till I've proven to myself that they can be used reliably. Perl threads have an undeservedly bad rep as it is, without me causing more problems sharing speculative ideas without checking them out first. (Which is why I'm not linking to the post in question--If you want to try it, your gonna have to do a little work:) Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.
In Section
Seekers of Perl Wisdom
|
|