From: Dave Rolsky Date: Tue, 3 Feb 2009 15:49:00 +0000 (+0000) Subject: Mention MetaDescription X-Git-Tag: 0.66~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=58c70a0ff32b4d5f12134a3a99f4fabe62e2db6a;p=gitmo%2FMoose.git Mention MetaDescription --- diff --git a/lib/Moose/Manual/MooseX.pod b/lib/Moose/Manual/MooseX.pod index b447df9..0208094 100644 --- a/lib/Moose/Manual/MooseX.pod +++ b/lib/Moose/Manual/MooseX.pod @@ -139,6 +139,20 @@ singleton: It's that simple. +=head1 MooseX::MetaDescription + +This module lets you attach an arbitrary hash reference of metadata to +an attribute. + + has 'image_name' => ( + metaclass => 'MooseX::MetaDescription::Meta::Attribute', + is => 'ro', + isa => 'Str', + description => { + html_display => 'Image', + } + ); + =head1 EXTENSIONS TO CONSIDER There are literally dozens of other extensions on CPAN. These are a