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

Re: Bug in Moose, Moo or forks?

Thread Previous
From:
Graham Knop
Date:
February 27, 2015 17:28
Subject:
Re: Bug in Moose, Moo or forks?
Message ID:
20150227172814.16398.qmail@lists-nntp.develooper.com
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.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About