From: Yuval Kogman Date: Sun, 10 Aug 2008 05:28:59 +0000 (+0000) Subject: fix the $! bullshit X-Git-Tag: 0.16~31 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e6acc23d6be14be0093f302126fbe9e5ad5b5f7;p=gitmo%2FMooseX-AttributeHelpers.git fix the $! bullshit --- diff --git a/lib/MooseX/AttributeHelpers/Base.pm b/lib/MooseX/AttributeHelpers/Base.pm index 45badc2..fedf739 100644 --- a/lib/MooseX/AttributeHelpers/Base.pm +++ b/lib/MooseX/AttributeHelpers/Base.pm @@ -54,7 +54,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 @@ -261,9 +261,9 @@ Documentation to come. =over 4 -=item B<$!default> +=item B -C<$!default> is now required. +C is now required. =item B