return $meta;
}
-
1;
__END__
#sub _spec{ %SPEC }
1;
-
__END__
=head1 NAME
#use Mouse::Meta::Method::Accessor;
use Mouse::Meta::Method::Delegation;
-
sub _process_options{
my($class, $name, $args) = @_;
return;
}
-
sub delegation_metaclass() { 'Mouse::Meta::Method::Delegation' }
sub install_accessors{
}
}
-
if($attribute->can('create') != \&create){
# backword compatibility
$attribute->create($metaclass, $attribute->name, %{$attribute});
}
1;
-
__END__
=head1 NAME
sub associated_metaclass { $_[0]->{associated_metaclass} }
sub fully_qualified_name {
- my $self = shift;
+ my($self) = @_;
return $self->package_name . '::' . $self->name;
}
sub get_attribute_list{ keys %{$_[0]->{attributes}} }
-
# XXX: for backward compatibility
my %foreign = map{ $_ => undef } qw(
Mouse Mouse::Role Mouse::Util Mouse::Util::TypeConstraints
}
1;
-
__END__
=head1 NAME
sub new;
-
sub BUILDALL {
my $self = shift;
}
1;
-
__END__
=head1 NAME
*MOUSE_XS = sub(){ $xs };
}
-
use Carp ();
use Scalar::Util ();
sub is_class_loaded;
-
sub apply_all_roles {
my $applicant = Scalar::Util::blessed($_[0])
? shift # instance
return join q{, }, @items, "and $tail";
}
-
# common utilities
sub not_supported{
*does = \&does_role; # alias
1;
-
__END__
=head1 NAME
}
1;
-
__END__
=head1 NAME
}
1;
-
__END__
=head1 NAME
}
1;
-
__END__
-=pod
-
=head1 NAME
ouse - syntactic sugar to make Mouse one-liners easier