has 'baz' => (is => 'rw');
has 'bar' => (is => 'rw', isa => 'Foo');
- has 'boo' => (is => 'rw', isa => type 'CustomFoo' => where { blessed($_) && $_->isa('Foo') });
+ #has 'boo' => (is => 'rw', isa => type 'CustomFoo' => where { blessed($_) && $_->isa('Foo') });
}
my $foo = Foo->new;
'w_constraint' => sub {
$foo->bar($foo);
},
- 'w_custom_constraint' => sub {
- $foo->boo($foo);
- },
+ #'w_custom_constraint' => sub {
+ # $foo->boo($foo);
+ #},
}
);