|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 $_. There's a pull request by Michael Jemmson fixing that there:Thanks! Jerome.