in reply to Re^2: passing shared blessed object part 2
in thread passing shared blessed object part 2
I believe that the newer versions of threads::shared override bless in order to enable the new shared blessed refs facility. And whilst I have no direct knowledge that it does, it wouldn't surprise me if Moose or Class::MOP did the same thing for their own purposes. That could well account for (at least some) of the errors you see when you include both.
Nope, Moose/MOP does not (and never will) override global behavior like that. The fact that threads::shared does means that might be the source of the problem right there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: passing shared blessed object part 2
by BrowserUk (Patriarch) on Nov 25, 2009 at 02:07 UTC |