[Moose-commits] r7737 - Moose/trunk/lib/Moose/Manual
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Thu Feb 19 21:44:12 GMT 2009
Author: autarch
Date: 2009-02-19 13:44:11 -0800 (Thu, 19 Feb 2009)
New Revision: 7737
Modified:
Moose/trunk/lib/Moose/Manual/BestPractices.pod
Log:
Small tweaks to namespace recommendation
Modified: Moose/trunk/lib/Moose/Manual/BestPractices.pod
===================================================================
--- Moose/trunk/lib/Moose/Manual/BestPractices.pod 2009-02-19 21:33:56 UTC (rev 7736)
+++ Moose/trunk/lib/Moose/Manual/BestPractices.pod 2009-02-19 21:44:11 UTC (rev 7737)
@@ -134,10 +134,12 @@
=head2 Namespace your types
Use some sort of namespacing convention for type names. We recommend
-something like "MyApp::Type::Foo". If you're intending to package
-your types up for re-use using MooseX::Types later, avoid using
-characters that are invalid in perl identifiers such as ' ' and '.'.
+something like "MyApp::Type::Foo".
+If you're intending to package your types up for re-use using
+MooseX::Types later, avoid using characters that are invalid in perl
+identifiers such as a space or period.
+
=head2 Do not coerce Moose built-ins directly
If you define a coercion for a Moose built-in like C<ArrayRef>, this
More information about the Moose-commits
mailing list