-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver Gorwits wrote:
> I added this but using get_metaclass_by_name($package) instead

Now reverted to __PACKAGE__->meta after being enlightened on IRC.

I can hear my wife's voice in my head: "stop trying to grow a brain,
dear, and just do what you're told." :-)

Apparently if you're a client of Moose, then __PACKAGE__->meta is
the way to go, but if you're writing MooseX:: extensions then it's
better to go the Class::MOP route to meta as described elsewhere.

...I think.

- --
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJZS+J2NPq7pwWBt4RAoUeAKCWHEoNj3okBPQjlZRhmDzvnTl7DgCg3dAf
lPcYa+Rw5kW4cOs35xzgGNs=
=ywJi
-----END PGP SIGNATURE-----

Reply via email to