Subject: | Possible Typo in Moose::Cookbook::Recipe1 |
In Moose::Cookbook::Recipe1, it seems that there might be an error:
--
As with Point's x and y attributes, this attribute has a type constraint
of Int, but it differs in that it does not ask for any autogenerated
accessors. The result being (aside from broken object encapsulation)
that x is a private attribute.
--
Is it the case that 'z' is the private attribute and not 'x'?