- added tests for this (thanks thepler)
- 'has' now dies if you don't pass in name
value pairs
+ - added the 'make_immutable' keyword as a shortcut
+ to __PACKAGE__->meta->make_immutable
* Moose::Meta::Class
Moose::Meta::Method::Constructor
$class->meta->add_augment_method_modifier( $name => $method );
};
},
+ make_immutable => sub {
+ my $class = $CALLER;
+ return subname 'Moose::make_immutable' => sub {
+ $class->meta->make_immutable(@_)
+ };
+ },
confess => sub {
return \&Carp::confess;
},