in reply to passing shared blessed object part 2
I am not sure about the specifics of your errors, but the biggest issue I am seeing is that %thread_hash is declared in the main:: namespace and you are accessing is as if it was a local variable inside the MyFrame:: namespace. Try changing
to$thread_hash{'twit'} = $twit;
and see if that helps. Beyond that I am not really sure what is happening here since I don't have a threaded perl to test this on. I suggest taking this to the moose mailing list (moose at perl.org) or the #moose IRC channel, someone there might be more familiar with Moose and threads.$main::thread_hash{'twit'} = $twit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: passing shared blessed object part 2
by Anonymous Monk on Nov 25, 2009 at 01:58 UTC | |
by stvn (Monsignor) on Nov 25, 2009 at 04:04 UTC |