Has anyone here got any idea how to implement Java annotation[1] or .NET attributes[2] with Moose? I'm particularly interested in how it can be applied to a Moose class and attribute.
Right now I'm looking into MooseX-Role-Parameterized to create parameterized metaclass and attribute traits. It seems to be a fit for what I want to do, except that the role block which it requires will be empty. Anyone with a more elegant solution? [1] http://en.wikipedia.org/wiki/Java_annotation [2] http://en.wikipedia.org/wiki/.NET_metadata#Attributes
