- create method for constructing a role
dynamically (Sartak)
- begin implementing anonymous roles (Sartak)
+ * Moose::Role
+ - more consistent error messages (Sartak)
0.61 Fri November 7, 2008
* Moose::Meta::Attribute
my $code = pop @_;
for (@_) {
- croak "Moose::Role do not currently support "
+ croak "Roles do not currently support "
. ref($_)
. " references for before method modifiers"
if ref $_;
my $code = pop @_;
for (@_) {
- croak "Moose::Role do not currently support "
+ croak "Roles do not currently support "
. ref($_)
. " references for after method modifiers"
if ref $_;
my $meta = Moose::Meta::Role->initialize(shift);
my $code = pop @_;
for (@_) {
- croak "Moose::Role do not currently support "
+ croak "Roles do not currently support "
. ref($_)
. " references for around method modifiers"
if ref $_;
}
sub inner {
- croak "Moose::Role cannot support 'inner'";
+ croak "Roles cannot support 'inner'";
}
sub augment {
- croak "Moose::Role cannot support 'augment'";
+ croak "Roles cannot support 'augment'";
}
my $exporter = Moose::Exporter->setup_import_methods(