Oops, missed the list and only bugged Sartak. ;)

---------- Forwarded message ----------
From: Cory Watson <jheep...@gmail.com>
Date: Wed, Jan 7, 2009 at 7:52 AM
Subject: Re: Possible to disable/rename meta() method
To: Sartak <sar...@gmail.com>


On Wed, Jan 7, 2009 at 6:35 AM, Sartak <sar...@gmail.com> wrote:

<snip>


> > 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.
>

Naughty?  (referenced below)

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


Sorry to be dense, but what reason is there _to_ do this?  Tom's comment of
not adding methods seems reasonable, but ripping out ->meta?

I'm not asking to be obtuse, more because I want to understand why my use of
->meta might be bad. Is there some reason that using it is "naughty"?  It's
my favorite part of Moose. ;)

-- 
Cory 'G' Watson
http://www.onemogin.com



-- 
Cory 'G' Watson
http://www.onemogin.com

Reply via email to