From: Shawn M Moore Date: Fri, 10 Jul 2009 00:07:31 +0000 (-0400) Subject: Backfill some important 0.84 changes in Delta X-Git-Tag: 0.88~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9f52cce58d67813b0c99a0cae997e25be82babf6;p=gitmo%2FMoose.git Backfill some important 0.84 changes in Delta --- diff --git a/lib/Moose/Manual/Delta.pod b/lib/Moose/Manual/Delta.pod index 470bf50..43e8196 100644 --- a/lib/Moose/Manual/Delta.pod +++ b/lib/Moose/Manual/Delta.pod @@ -18,6 +18,25 @@ send us a patch. =head1 Version 0.84 +When an attribute generates I accessors, we now warn. This is to help +users who forget the C option. If you really do not want any accessors, +you can use C<< is => 'bare' >>. + +When an accessor overwrites an existing method, we now warn. To work around +this warning (if you really must have this behavior), you can explicitly +remove the method before creating it as an accessor: + + sub foo {} + + __PACKAGE__->meta->remove_method('foo'); + + has foo => ( + is => 'ro', + ); + +When an unknown option is passed to C, we now warn. You can silence +the warning by fixing your code. :) + The C type has been deprecated. On its own, it was useless, since it just checked C<< $object->can('does') >>. If you were using it as a parent type, just call C to create an