Revision history for Perl extension Moose
+0.41
+ ** IMPORTANT NOTE **
+ - the make_immutable keyword is now deprecated, don't
+ use it in any new code and please fix your old code
+ as well. There will be 2 releases, and then it will
+ be removed.
+
0.40 Fri. March 14, 2008
- I hate Pod::Coverage
use strict;
use warnings;
-our $VERSION = '0.40';
+our $VERSION = '0.41';
our $AUTHORITY = 'cpan:STEVAN';
use Scalar::Util 'blessed', 'reftype';
use Sub::Exporter;
-use Class::MOP 0.51;
+use Class::MOP;
use Moose::Meta::Class;
use Moose::Meta::TypeConstraint;
make_immutable => sub {
my $class = $CALLER;
return subname 'Moose::make_immutable' => sub {
- warn "Use of make_immutable() is deprecated, please use metaclass->make_immutable now\n";
+ warn "The make_immutable keyword has been deprecated, " .
+ "please go back to __PACKAGE__->meta->make_immutable\n";
$class->meta->make_immutable(@_);
};
},