MooseX::MetaDescription::Meta::Attribute - Custom attribute metaclass for meta-descriptions
package Foo; use Moose; has 'bar' => ( # use the meta description attribute metaclass for this attr metaclass => 'MooseX::MetaDescription::Meta::Attribute', is => 'ro', isa => 'Str', default => sub { 'Foo::bar' }, description => { baz => 'Foo::bar::baz', gorch => 'Foo::bar::gorch', } );
This module provides a custom attribute metaclass to add meta description capabilities to your class attributes.
NOTE: these are methods composed into this class from MooseX::MetaDescription::Meta::Trait refer to that module for the complete description.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <stevan.little@iinteractive.com>
Copyright 2008 Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install MooseX::MetaDescription, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::MetaDescription
CPAN shell
perl -MCPAN -e shell install MooseX::MetaDescription
For more information on module installation, please visit the detailed CPAN module installation guide.