projects
/
gitmo/Class-MOP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge branch 'master' into renames-and-deprecations
[gitmo/Class-MOP.git]
/
lib
/
Class
/
MOP
/
Instance.pm
diff --git
a/lib/Class/MOP/Instance.pm
b/lib/Class/MOP/Instance.pm
index
885e17f
..
3683dcf
100644
(file)
--- a/
lib/Class/MOP/Instance.pm
+++ b/
lib/Class/MOP/Instance.pm
@@
-75,6
+75,9
@@
sub create_instance {
# for compatibility
sub bless_instance_structure {
+ warn '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;
}