* Keep track of the source package of each type
+ * class_type shouldn't load the class (Moose compat; no easy fix :/)
+
0.14 Sat Dec 20 16:53:05 2008
* POD fix
my $pkg = caller(0);
my($name, $conf) = @_;
my $class = $conf->{class};
- Mouse::load_class($class);
_subtype(
$name => where => sub { $_->isa($class) }
);
use Mouse;
use Mouse::Util::TypeConstraints;
+ require t::lib::ClassType_Foo;
+
class_type Headers => { class => 't::lib::ClassType_Foo' };
coerce 'Headers' =>
from 'HashRef' => via {