add a warning for the deprecated Class::MOP::Instance->bless_intsance_structure method
[gitmo/Class-MOP.git] / lib / Class / MOP / Instance.pm
index 16dd6e0..700ec75 100644 (file)
@@ -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;
 }