X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAttributeHelpers.pm;h=488b648c613dc452e6791d6d608d0d044422f4ef;hb=9486abfa30692ac19a9140b04a5a5e8d60c5d95d;hp=219288ccee35b2c3ed52fd960e95e23a2e979a37;hpb=38430345c58bfae41b4cc7c1036c5dc8df401972;p=gitmo%2FMooseX-AttributeHelpers.git diff --git a/lib/MooseX/AttributeHelpers.pm b/lib/MooseX/AttributeHelpers.pm index 219288c..488b648 100644 --- a/lib/MooseX/AttributeHelpers.pm +++ b/lib/MooseX/AttributeHelpers.pm @@ -1,13 +1,25 @@ package MooseX::AttributeHelpers; -our $VERSION = '0.12_01'; +our $VERSION = '0.23'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; +use Moose 0.56 (); + use MooseX::AttributeHelpers::Meta::Method::Provided; use MooseX::AttributeHelpers::Meta::Method::Curried; +use MooseX::AttributeHelpers::Trait::Bool; +use MooseX::AttributeHelpers::Trait::Counter; +use MooseX::AttributeHelpers::Trait::Number; +use MooseX::AttributeHelpers::Trait::String; +use MooseX::AttributeHelpers::Trait::Collection::List; +use MooseX::AttributeHelpers::Trait::Collection::Array; +use MooseX::AttributeHelpers::Trait::Collection::Hash; +use MooseX::AttributeHelpers::Trait::Collection::ImmutableHash; +use MooseX::AttributeHelpers::Trait::Collection::Bag; + use MooseX::AttributeHelpers::Counter; use MooseX::AttributeHelpers::Number; use MooseX::AttributeHelpers::String; @@ -26,7 +38,7 @@ __END__ =head1 NAME -MooseX::AttributeHelpers - Extend your attribute interfaces +MooseX::AttributeHelpers - Extend your attribute interfaces (deprecated) =head1 SYNOPSIS @@ -68,6 +80,10 @@ MooseX::AttributeHelpers - Extend your attribute interfaces =head1 DESCRIPTION +B. This distribution +should not be used by any new code.> + While L attributes provide you with a way to name your accessors, readers, writers, clearers and predicates, this library provides commonly used attribute helper methods for more specific types of data. @@ -119,6 +135,10 @@ passed to the final method. Common numerical operations. +=item L + +Common methods for string operations. + =item L Methods for incrementing and decrementing a counter attribute. @@ -131,6 +151,10 @@ Common methods for boolean values. Common methods for hash references. +=item L + +Common methods for inspecting hash references. + =item L Common methods for array references. @@ -186,9 +210,15 @@ Jason May Cory (gphat) Watson +Florian (rafl) Ragwitz + +Evan Carroll + +Jesse (doy) Luehrs + =head1 COPYRIGHT AND LICENSE -Copyright 2007, 2008 by Infinity Interactive, Inc. +Copyright 2007-2009 by Infinity Interactive, Inc. L