- or download this
my $type_constraint = Stopwatch->meta->get_attribute('timer')->type_co
+nstraint;
print $type_constraint->name; # prints DateTime
- or download this
print $type_constraint->parent->name; # prints Object
print $type_constraint->parent->parent->name; # prints Ref
print $type_constraint->parent->parent->parent->name; # prints Any
- or download this
subtype Protocol
=> as Str
=> where { /^HTTP\/[0-9]\.[0-9]$/ };
- or download this
has 'protocol' => (isa => 'Protocol');