From: Dave Rolsky Date: Thu, 19 Feb 2009 21:44:11 +0000 (+0000) Subject: Small tweaks to namespace recommendation X-Git-Tag: 0.71_01~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7b307c3e1ca2b21164267214ad04167e4ce86ff8;p=gitmo%2FMoose.git Small tweaks to namespace recommendation --- diff --git a/lib/Moose/Manual/BestPractices.pod b/lib/Moose/Manual/BestPractices.pod index c73f4d3..2b4fd1b 100644 --- a/lib/Moose/Manual/BestPractices.pod +++ b/lib/Moose/Manual/BestPractices.pod @@ -134,9 +134,11 @@ changing the parents. =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