X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FMeta%2FTypeConstraint%2FDependent.pm;h=83d140c4c499b7f816cccd37511dc5612b2d0348;hb=01a1242466a38996ada4ab650121ce73ee277889;hp=40804949ab1d3c02e5cb7f4e2cf360af6a7b5de7;hpb=f510c7d205ff96b1623b932000f5928d7ccdfe9b;p=gitmo%2FMooseX-Dependent.git diff --git a/lib/MooseX/Meta/TypeConstraint/Dependent.pm b/lib/MooseX/Meta/TypeConstraint/Dependent.pm index 4080494..83d140c 100644 --- a/lib/MooseX/Meta/TypeConstraint/Dependent.pm +++ b/lib/MooseX/Meta/TypeConstraint/Dependent.pm @@ -63,6 +63,9 @@ However, the 'where' clause only get's the check value. Exercise some sanity, this should be limited to actual comparision operations, not as a sneaky way to mess with the constraining value. +This should return a Bool, suitable for ->check (That is true for valid, false +for fail). + =cut has 'comparison_callback' => (