On Wed, Oct 19, 2011 at 3:36 PM, Brian Fraser <[email protected]> wrote: > You don't really need Moose to emulate .NET attributes*; vanilla Perl has > subroutine attributes: > http://perldoc.perl.org/Attribute/Handlers.html > http://perldoc.perl.org/attributes.html
Thanks Brian, but I really need Moose for good reason. It just so happens that I'm looking for something in Moose that is close to Annotation/Attributes. > But honestly, why would you want to do that? Trying to program X in Y is > always a code smell. In what little Moose I've done, a trait has always been > the best fit for this sort of thing. Please see my reply to Stevan.
