On Tue, Jan 6, 2009 at 11:58 PM, Chris Prather <perig...@gmail.com> wrote:
> On Tue, Jan 6, 2009 at 11:56 PM, Yuval Kogman <nothingm...@woobling.org> 
> wrote:
>> 2009/1/7 Stevan Little <stevan.lit...@iinteractive.com>
>>
>>> Tom,
>>>
>>> Nope, sorry 'meta' is used internally in Moose too much to override.
>>
>>
>> Actually this is not as true today as it used to be... But we're still a bit
>> too far off from being able to disable it.
>> I think realistically it can be done in a branch in a few hours of work if
>> anybody wants to try.
>
> How much of CPAN will it break if/when switched off ...

The fix for CPAN modules is easy: instead of using $package->meta or
Class::MOP::Class->initialize($package), use
Class::MOP::get_metaclass_by_name($package).

Also, it'll only break if you actually rename or don't install ->meta,
so it's not going to break any back compat. It'll only break if you
use a naughty MooseX, and it will generally break spectacularly.

There's no reason not to do this. I'll get started on the branch.

>
> -Chris
>

Shawn

Reply via email to