[Moose-commits] r7412 - Moose/branches/moose-manual/lib/Moose/Util
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Thu Jan 29 16:34:36 GMT 2009
Author: autarch
Date: 2009-01-29 08:34:35 -0800 (Thu, 29 Jan 2009)
New Revision: 7412
Modified:
Moose/branches/moose-manual/lib/Moose/Util/TypeConstraints.pm
Log:
Don't encourage :: as a "namespace" separator for type names that
aren't class names.
Modified: Moose/branches/moose-manual/lib/Moose/Util/TypeConstraints.pm
===================================================================
--- Moose/branches/moose-manual/lib/Moose/Util/TypeConstraints.pm 2009-01-29 00:02:16 UTC (rev 7411)
+++ Moose/branches/moose-manual/lib/Moose/Util/TypeConstraints.pm 2009-01-29 16:34:35 UTC (rev 7412)
@@ -785,7 +785,7 @@
Since the types created by this module are global, it is suggested
that you namespace your types just as you would namespace your
modules. So instead of creating a I<Color> type for your B<My::Graphics>
-module, you would call the type I<My::Graphics::Color> instead.
+module, you would call the type I<My.Graphics.Color> instead.
=head2 Use with Other Constraint Modules
More information about the Moose-commits
mailing list