Fix XS so that Class::MOP::Method accessors blow up if called as class methods.
authorDave Rolsky <autarch@urth.org>
Mon, 1 Sep 2008 14:57:08 +0000 (14:57 +0000)
committerDave Rolsky <autarch@urth.org>
Mon, 1 Sep 2008 14:57:08 +0000 (14:57 +0000)
commitda88f307a9f54e4fef38bf1d7354cdb4d137c451
tree0ef57c34684e53628bf59ca3c850521891647481
parentbf3db0fbcea53d4b24fb89dff26d45d8ac94becb
Fix XS so that Class::MOP::Method accessors blow up if called as class methods.

Restore name() XS accessor and make pure Perl version do the same thing.

Add a package_name() XS accessor and make pure Perl version do the same thing.
MOP.xs
lib/Class/MOP/Method.pm
t/030_method.t