=over 4
-=item L<Moose::Cookbook::Basics::Recipe1> - The (always classic) B<Point> example
+=item L<Moose::Cookbook::Basics::Point_AttributesAndSubclassing>
-A simple Moose-based class. Demonstrates Moose attributes and subclassing.
+A simple Moose-based class. Demonstrates basic Moose attributes and subclassing.
=item L<Moose::Cookbook::Basics::Recipe2> - A simple B<BankAccount> example
-package Moose::Cookbook::Basics::Recipe1;
+package Moose::Cookbook::Basics::Point_AttributesAndSubclassing;
-# ABSTRACT: The (always classic) B<Point> example.
+# ABSTRACT: Point and Point3D classes, showing basic attributes and subclassing.
__END__
From here on, we can use C<$point> and C<$point3d> just as you would
any other Perl 5 object. For a more detailed example of what can be
done, you can refer to the
-F<t/recipes/moose_cookbook_basics_recipe1.t> test file.
+F<t/recipes/moose_cookbook_basics_point_attributesandsubclassing.t> test file.
=head2 Moose Objects are Just Hashrefs
=head1 DESCRIPTION
-This is the Point example from L<Moose::Cookbook::Basics::Recipe1>
-with type checking added.
+This is the Point example from
+L<Moose::Cookbook::Basics::Point_AttributesAndSubclassing> with type checking
+added.
If we try to assign a string value to an attribute that is an C<Int>,
Moose will die with an explicit error message. The error will include
=over 4
-=item L<Moose::Cookbook::Basics::Recipe1>
+=item L<Moose::Cookbook::Basics::Point_AttributesAndSubclassing>
=item L<Moose::Utils::TypeConstraints>