add duck_type to Moose::Util::TypeConstraints
authorChris Prather <cprather@hdpublishing.com>
Fri, 27 Mar 2009 21:09:13 +0000 (17:09 -0400)
committerChris Prather <cprather@hdpublishing.com>
Fri, 27 Mar 2009 21:09:13 +0000 (17:09 -0400)
commit180899ed1783b4027d938a65a792e7083eaf447b
treee2500d8088976f9927171a5e3d050dd81ff80fc8
parent41c9e0ef45f82c2faee14b3d7964d7fb162b9f7c
add duck_type to Moose::Util::TypeConstraints
this will subtype Object and check to be sure the value ->can() a list of methods
lib/Moose/Util/TypeConstraints.pm
t/040_type_constraints/034_duck_types.t [new file with mode: 0644]