[Moose-commits] r7869 - MooseX-Types-Dependent/trunk/t
jnapiorkowski at code2.0beta.co.uk
jnapiorkowski at code2.0beta.co.uk
Mon Mar 30 01:23:31 BST 2009
Author: jnapiorkowski
Date: 2009-03-29 17:23:31 -0700 (Sun, 29 Mar 2009)
New Revision: 7869
Modified:
MooseX-Types-Dependent/trunk/t/02-depending.t
Log:
minor docs
Modified: MooseX-Types-Dependent/trunk/t/02-depending.t
===================================================================
--- MooseX-Types-Dependent/trunk/t/02-depending.t 2009-03-29 23:28:09 UTC (rev 7868)
+++ MooseX-Types-Dependent/trunk/t/02-depending.t 2009-03-30 00:23:31 UTC (rev 7869)
@@ -37,6 +37,8 @@
Int,
sub {
my ($dependent_int, $constraining_arrayref) = @_;
+ ## Yes, this is braindead way to check for uniques in an array
+ ## but this doesn't require additional dependencies.
(grep { $_ == $dependent_int} @$constraining_arrayref) ? 0:1
},
ArrayRef[Int],
More information about the Moose-commits
mailing list