Also see Moose::Manual::Delta for more details of, and workarounds
for, noteworthy changes.
+0.90
+ * Moose::Exporter
+ - Make "use Moose -extends => [@superclasses]". (gfx)
+
0.89 Thu Aug 13, 2009
* Moose::Manual::Attributes
- Clarify "is", include discussion of "bare". (Sartak)
}
package Point3D;
- use Moose;
-
- extends 'Point';
+ use Moose -extends => 'Point';
has 'z' => (is => 'rw', isa => 'Int');
replace it. This is important to ensure that classes which do not have
superclasses still properly inherit from L<Moose::Object>.
+You can also do this at compile-time with C<use Moose -extends => [...]>.
+
=item B<with (@roles)>
This will apply a given set of C<@roles> to the local class.