From: Jesse Luehrs Date: Sat, 7 May 2011 06:50:35 +0000 (-0500) Subject: clarify a bit X-Git-Tag: 2.0003~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ec4a49a5c1b380c77716c650ad79c68563a4ac9;p=gitmo%2FMoose.git clarify a bit --- diff --git a/lib/Moose/Cookbook/Basics/Recipe4.pod b/lib/Moose/Cookbook/Basics/Recipe4.pod index 65e849e..d9d5dfd 100644 --- a/lib/Moose/Cookbook/Basics/Recipe4.pod +++ b/lib/Moose/Cookbook/Basics/Recipe4.pod @@ -148,10 +148,10 @@ simplifies the code. We don't really need a class for these types, as they're just strings, but we do want to ensure that they're valid. The type constraints we created are reusable. Type constraints are -stored by name in a global registry. This means that we can refer to +stored by name in a global registry, which means that we can refer to them in other classes. Because the registry is global, we do recommend -that you use some sort of pseudo-namespacing in real applications, -like C. +that you use some sort of namespacing in real applications, +like C (just as you would do with class names). These two subtypes allow us to define a simple C
class.