mop::traits::util - some utility functions for inspecting traits
Since traits are simply subroutines that operate on meta-objects it is not possible to inspect the meta-object to find out what specific traits have been applied to it. This module aims to fix that issue.
NOTE: This feature will likely become more sophisticated over time and provide better introspection capabilities. What is here now is just the beginning.
$trait as a CODE ref,
$meta object it is to be applied too,
this will perform the trait application as well as registering this action.
$meta object this will return the list of trait CODE refs that were applied to it.
Since this module is still under development we would prefer to not use the RT bug queue and instead use the built in issue tracker on Github.
Stevan Little <firstname.lastname@example.org>
Jesse Luehrs <email@example.com>
Florian Ragwitz <firstname.lastname@example.org>
This software is copyright (c) 2013-2014 by Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.