constraining_value => $args,
parent_type_constraint=>$self->parent_type_constraint,
constraining_value_type_constraint => $self->constraining_value_type_constraint,
+ message => $self->message,
);
## TODO This is probably going to have to go away (too many things added to the registry)
Within your L<MooseX::Types> declared library module:
+ use Set::Scalar;
use MooseX::Types::Parameterizable qw(Parameterizable);
+ use MooseX::Types::Moose qw(Int );
+ use MooseX::Types -declare=>[qw(Set UniqueInt PositiveSet)];
subtype Set,
as class_type("Set::Scalar");