[Moose-commits] r7604 - Moose/trunk/lib/Moose/Manual
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Tue Feb 10 15:31:27 GMT 2009
Author: autarch
Date: 2009-02-10 07:31:27 -0800 (Tue, 10 Feb 2009)
New Revision: 7604
Modified:
Moose/trunk/lib/Moose/Manual/BestPractices.pod
Log:
Add another recommendation, always call inner() in the most specific subclass
Modified: Moose/trunk/lib/Moose/Manual/BestPractices.pod
===================================================================
--- Moose/trunk/lib/Moose/Manual/BestPractices.pod 2009-02-10 15:29:39 UTC (rev 7603)
+++ Moose/trunk/lib/Moose/Manual/BestPractices.pod 2009-02-10 15:31:27 UTC (rev 7604)
@@ -99,6 +99,13 @@
of functionality that need exposing. Then you can expose just the
functionality that you want.
+=head2 Always call C<inner> in the most specific subclass
+
+When using C<augment> and C<inner>, we recommend that you call
+C<inner> in the most specific subclass of your hierarchy. This makes
+it possible to subclass further and extend the hierarchy without
+changing the parents.
+
=head2 Namespace your types
Use some sort of namespacing convention for type names. We recommend
More information about the Moose-commits
mailing list