Add _get_local_methods method that returns method objects directly.
authorDave Rolsky <autarch@urth.org>
Sat, 14 Aug 2010 17:28:33 +0000 (19:28 +0200)
committerDave Rolsky <autarch@urth.org>
Sun, 15 Aug 2010 08:47:50 +0000 (10:47 +0200)
commitfe1b970ae7d324629fd8848c1c640940c87ecfb5
tree48416049b0623c7bd199f307fafd1ed0442c072e
parentea6dca1713c5f12a07e165b0e5d70b9455682414
Add _get_local_methods method that returns method objects directly.

Using this in various places can make our code much more efficient, since we
avoid calling get_method twice.
lib/Class/MOP/Class.pm
lib/Class/MOP/Mixin/HasMethods.pm