X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAttributeHelpers%2FBase.pm;h=96217a8c35e54f5e0802bc1c400cf656de3bba72;hb=9e2db1c2f1fac57b7908a080ba8c552e4ae2b59c;hp=201bbcbe0e80560e5805ad99c0522af9d0077237;hpb=96c2370b439dea594023a0808b750716c5c75d12;p=gitmo%2FMooseX-AttributeHelpers.git diff --git a/lib/MooseX/AttributeHelpers/Base.pm b/lib/MooseX/AttributeHelpers/Base.pm index 201bbcb..96217a8 100644 --- a/lib/MooseX/AttributeHelpers/Base.pm +++ b/lib/MooseX/AttributeHelpers/Base.pm @@ -3,7 +3,8 @@ package MooseX::AttributeHelpers::Base; use Moose; use Moose::Util::TypeConstraints; -our $VERSION = '0.04'; +our $VERSION = '0.17'; +$VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; extends 'Moose::Meta::Attribute'; @@ -21,7 +22,6 @@ has 'curries' => ( default => sub {{}} ); - # these next two are the possible methods # you can use in the 'provides' map. @@ -55,7 +55,7 @@ has 'method_constructors' => ( # extend the parents stuff to make sure # certain bits are now required ... -has '+$!default' => (required => 1); +has '+default' => (required => 1); has '+type_constraint' => (required => 1); ## Methods called prior to instantiation @@ -250,6 +250,8 @@ Documentation to come. =item B +=item B + =item B =item B @@ -260,9 +262,9 @@ Documentation to come. =over 4 -=item B<$!default> +=item B -C<$!default> is now required. +C is now required. =item B