Carp::carp(qq{Attribute ($name) of class }.$self->name
.qq{ has no associated methods (did you mean to provide an "is" argument?)});
}
+
+ if(!Mouse::Util::MOUSE_XS) {
+ # in Mouse::PurePerl, attribute initialization code is cached, so it
+ # must be clear here. See _initialize_object() in Mouse::PurePerl.
+ delete $self->{_initialize_object};
+ }
return $attr;
}
->_generate_destructor($self, \%args));
}
- # Moose's make_immutable returns true allowing calling code to skip setting an explicit true value
- # at the end of a source file.
+ # Moose's make_immutable returns true allowing calling code to skip
+ # setting an explicit true value at the end of a source file.
return 1;
}
=head1 VERSION
-This document describes Mouse version 0.70
+This document describes Mouse version 0.73
=head1 DESCRIPTION