Revision history for Perl extension Class-MOP.
0.54
+ * Class::MOP::Class
+ - make_{immutable,mutable} now return 1
+ (cause Sartak asked)
+
* t/
- fixed the filename length on several
test files so we install on VMS better
use Scalar::Util 'blessed', 'reftype', 'weaken';
use Sub::Name 'subname';
-our $VERSION = '0.28';
+our $VERSION = '0.29';
our $AUTHORITY = 'cpan:STEVAN';
use base 'Class::MOP::Module';
print STDERR "# of Metaclass options: ", keys %IMMUTABLE_OPTIONS;
print STDERR "# of Immutable transformers: ", keys %IMMUTABLE_TRANSFORMERS;
}
+
+ 1;
}
sub make_mutable{
confess "unable to find immutabilizing options" unless ref $options;
my $transformer = delete $options->{IMMUTABLE_TRANSFORMER};
$transformer->make_metaclass_mutable($self, $options);
+ 1;
}
}