Skip Menu |

This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id: 102729
Status: resolved
Priority: 0/
Queue: Moo

People
Owner: Nobody in particular
Requestors: JETEVE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.000000
Fixed in: 2.000001



Subject: In Moo::_Utils , can_haz_subutil and can_has_subname can be both false.
Hi, I noticed a broken behaviour when using a combination of Mojolicious, Moose objects (with delegation using Regexs) and DBIx::Class. It boiled down to the method "_name_coderef" in Moo::_Utils If some other code loads Sub::Util and Sub::Name - which is very likely in large applications - then both can_haz_subutil and can_haz_subname will be false at the same time, causing _name_coderef method to always return $_[1]. There's a pull request by Michael Jemmson fixing that there: https://github.com/moose/Moo/pull/15 Thanks! Jerome.
Subject: In Moo::_Utils , can_haz_subutil and can_has_subname can be both false.
Hi, I noticed a broken behaviour when using a combination of Mojolicious, Moose objects (with delegation using Regexs) and DBIx::Class. It boiled down to the method "_name_coderef" in Moo::_Utils If some other code loads Sub::Util and Sub::Name - which is very likely in large applications - then both can_haz_subutil and can_haz_subname will be false at the same time, causing _name_coderef method to always return $_[1]. There's a pull request by Michael Jemmson fixing that there: https://github.com/moose/Moo/pull/15 Thanks! Jerome.
Duplicate
This was fixed in 2.000001