some refactoring of handles
[gitmo/Moose.git] / lib / Moose / Meta / TypeConstraint / Registry.pm
index ae6429a..f316c81 100644 (file)
@@ -8,7 +8,7 @@ use metaclass;
 use Scalar::Util 'blessed';
 use Carp         'confess';
 
-our $VERSION   = '0.01';
+our $VERSION   = '0.55';
 our $AUTHORITY = 'cpan:STEVAN';
 
 use base 'Class::MOP::Object';
@@ -63,10 +63,16 @@ __END__
 
 =head1 NAME
 
-Moose::Meta::TypeConstraint::Registry
+Moose::Meta::TypeConstraint::Registry - registry for type constraints
 
 =head1 DESCRIPTION
 
+This module is currently only use internally by L<Moose::Util::TypeConstraints>. 
+It can be used to create your own private type constraint registry as well, but 
+the details of that are currently left as an exercise to the reader. (One hint: 
+You can use the 'parent_registry' feature to connect your private version with the 
+base Moose registry and base Moose types will automagically be found too).
+
 =head1 METHODS
 
 =over 4
@@ -105,7 +111,7 @@ Stevan Little E<lt>stevan@iinteractive.comE<gt>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2006, 2007 by Infinity Interactive, Inc.
+Copyright 2006-2008 by Infinity Interactive, Inc.
 
 L<http://www.iinteractive.com>