summaryrefslogtreecommitdiff
path: root/lib/Data/MultiValued.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Data/MultiValued.pm')
-rw-r--r--lib/Data/MultiValued.pm39
1 files changed, 36 insertions, 3 deletions
diff --git a/lib/Data/MultiValued.pm b/lib/Data/MultiValued.pm
index aff7a17..d4c2014 100644
--- a/lib/Data/MultiValued.pm
+++ b/lib/Data/MultiValued.pm
@@ -1,4 +1,10 @@
package Data::MultiValued;
+{
+ $Data::MultiValued::VERSION = '0.0.1_3';
+}
+{
+ $Data::MultiValued::DIST = 'Data-MultiValued';
+}
use strict;
use warnings;
# ABSTRACT: store tag- and range-dependant data in a scalar or Moose attribute
@@ -7,6 +13,20 @@ warn "Don't use this module directly, use Data::MultiValued::Tags or Data::Multi
1;
+
+__END__
+=pod
+
+=encoding utf-8
+
+=head1 NAME
+
+Data::MultiValued - store tag- and range-dependant data in a scalar or Moose attribute
+
+=head1 VERSION
+
+version 0.0.1_3
+
=head1 SYNOPSIS
use Data::MultiValued::Tags;
@@ -48,17 +68,17 @@ module. Why use these?
=over 4
-=item *
+*
they are optimised for serialisation, see
L<Data::MultiValued::UglySerializationHelperRole> and F<t/json.t>.
-=item *
+*
you get accessors generated for your Moose attributes just by setting
a trait
-=item *
+*
tags and ranges interact in sensible ways, including clearing ranges
@@ -74,3 +94,16 @@ L<Data::MultiValued::AttributeTrait::Ranges> and
L<Data::MultiValued::AttributeTrait::TagsAndRanges> for the Moose
attribute traits.
+=head1 AUTHOR
+
+Gianni Ceccarelli <dakkar@thenautilus.net>
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Net-a-Porter.com.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+