RECENT POSTS

P5-moosex-markasmethods

May 26, 2018

Mark overload code symbols as methods

MooseXMarkAsMethods allows one to easily mark certain functions as Moose methods. This will allow other packages such as namespaceautoclean to operate without blowing away your overloads. After using MooseXMarkAsMethods your overloads will be recognized by ClassMOP as being methods, and class extension as well as composition from roles with overloads will “just work”.

By default we check for overloads, and mark those functions as methods.

If ‘autoclean => 1’ is passed to import on use’ing this module, we will invoke namespaceautoclean to clear out non-methods.

WWW http//search.cpan.org/dist/MooseX-MarkAsMethods/