Conflicts:
lib/Class/MOP/Instance.pm
lib/Class/MOP/Method/Accessor.pm
# bless {}, $self->_class_name;
#}
-
-# for compatibility
-sub bless_instance_structure {
- Carp::cluck('The bless_instance_structure method is deprecated.'
- . " It will be removed in a future release.\n");
-
- my ($self, $instance_structure) = @_;
- bless $instance_structure, $self->_class_name;
-}
-
sub clone_instance {
my ($self, $instance) = @_;
bless { %$instance }, $self->_class_name;