|Welcome to the Monastery|
Re: Access to $self in a thread?by BrowserUk (Pope)
|on Sep 12, 2013 at 15:51 UTC||Need Help??|
Simply stated, you cannot do what you are trying to do. That is, you cannot share objects between threads.
I'm not going to explain that, but just ask you to take my word for it.
I'm also going to suggest that given your current level of understanding of Perl, you should not even be considering using threads.
An example of what I mean is your new function.
Given your demonstrated level of understanding of Perl; your attempts to use threading will just fail.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.