develooper Front page | perl.moose | Postings from February 2015

Re: Bug in Moose, Moo or forks?

Thread Previous
Graham Knop
February 27, 2015 17:28
Re: Bug in Moose, Moo or forks?
Message ID:
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 for issue
on the forks side.  Moo has been fixed in git and a new release should
be out soon.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About