[Moose-commits] r7876 -
MooseX-Types-Dependent/trunk/lib/MooseX/Meta/TypeConstraint
jnapiorkowski at code2.0beta.co.uk
jnapiorkowski at code2.0beta.co.uk
Mon Mar 30 16:58:25 BST 2009
Author: jnapiorkowski
Date: 2009-03-30 08:58:24 -0700 (Mon, 30 Mar 2009)
New Revision: 7876
Modified:
MooseX-Types-Dependent/trunk/lib/MooseX/Meta/TypeConstraint/Dependent.pm
Log:
last bit of yak shaving until I get feedback from the cabal
Modified: MooseX-Types-Dependent/trunk/lib/MooseX/Meta/TypeConstraint/Dependent.pm
===================================================================
--- MooseX-Types-Dependent/trunk/lib/MooseX/Meta/TypeConstraint/Dependent.pm 2009-03-30 15:55:37 UTC (rev 7875)
+++ MooseX-Types-Dependent/trunk/lib/MooseX/Meta/TypeConstraint/Dependent.pm 2009-03-30 15:58:24 UTC (rev 7876)
@@ -237,20 +237,6 @@
);
};
-=head2 constraint
-
-We modify constraint so that the value pass is automatically dereferenced
-
-=cut
-
-around 'constraint' => sub {
- my ($constraint, $self) = @_;
- return sub {
- my ($arg) = @_;
- $self->$constraint->($arg);
- };
-};
-
=head2 is_a_type_of
=head2 is_subtype_of
More information about the Moose-commits
mailing list