On 2/27/15 11:08 AM, Graham Knop wrote: > On 2/26/15 12:26 AM, Octavian Rasnita wrote: >> Hello, > This is somewhat a bug in Moo, and also possibly a bug in forks. > > forks scans through every package checking for CLONE_SKIP subs. It uses > ->can to do this. This mostly matches the behavior of threads, except > they don't use ->can to check for this. So this is a slight difference > in behavior that forks should maybe fix. > > Moo contains a package that doesn't work when ->can is used as a class > method. This is the direct cause of the error, and I should have that > fixed soon. >
I've filed https://rt.cpan.org/Ticket/Display.html?id=102407 for issue on the forks side. Moo has been fixed in git and a new release should be out soon.