require Mouse::Util;
-package
- Mouse::Util;
+package Mouse::Util;
use strict;
use warnings;
return $predicate;
}
-package
- Mouse::Util::TypeConstraints;
+package Mouse::Util::TypeConstraints;
use Scalar::Util qw(blessed looks_like_number openhandle);
-package
- Mouse::Meta::Module;
+package Mouse::Meta::Module;
sub name { $_[0]->{package} }
return;
}
-package
- Mouse::Meta::Class;
+package Mouse::Meta::Class;
sub method_metaclass { $_[0]->{method_metaclass} || 'Mouse::Meta::Method' }
sub attribute_metaclass { $_[0]->{attribute_metaclass} || 'Mouse::Meta::Attribute' }
sub __strict_constructor{ $_[0]->{strict_constructor} }
-package
- Mouse::Meta::Role;
+package Mouse::Meta::Role;
sub method_metaclass{ $_[0]->{method_metaclass} || 'Mouse::Meta::Role::Method' }
sub get_roles { $_[0]->{roles} }
-package
- Mouse::Meta::Attribute;
+package Mouse::Meta::Attribute;
require Mouse::Meta::Method::Accessor;
}
-package
- Mouse::Meta::TypeConstraint;
+package Mouse::Meta::TypeConstraint;
sub name { $_[0]->{name} }
sub parent { $_[0]->{parent} }
return;
}
-package
- Mouse::Object;
+package Mouse::Object;
sub BUILDARGS {