=head1 COPYRIGHT & LICENSE
+Copyright 2008-2009, John Napiorkowski C<< <jjnapiork@cpan.org> >>
+
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=head1 DESCRIPTION
-TBD
+This class is not intended for public consumption. Please don't subclass it
+or rely on it. Chances are high stuff here is going to change a lot.
=head1 METHODS
=head add_type_coercions
method modification to throw exception should we try to add a coercion on a
-dependent type that's had it's constraining value filled
+dependent type that is already defined by a constraining value. We do this
+since defined dependent type constraints inherit their coercion from the parent
+constraint. It makes no sense to even be using dependent types if you know the
+constraining value beforehand!
=cut
};
-## These two are here until I can merge change upstream to Moose
+## These two are here until I can merge change upstream to Moose. These are two
+## very minor changes we can probably just put into Moose without breaking stuff
sub coerce {
my $self = shift @_;
my $coderef = $self->_compiled_type_coercion;
types. This class is a subclass of L<Moose::Meta::TypeConstraint> which
provides the gut functionality to enable dependent type constraints.
+This class is not intended for public consumption. Please don't subclass it
+or rely on it. Chances are high stuff here is going to change a lot. For
+example, I will probably refactor this into several classes to get rid of all
+the ugly conditionals.
+
=head1 ATTRIBUTES
This class defines the following attributes.