add a warning for the deprecated Class::MOP::Instance->bless_intsance_structure method
[gitmo/Class-MOP.git] / examples / InsideOutClass.pod
index e106113..b69c10f 100644 (file)
@@ -102,7 +102,7 @@ use base 'Class::MOP::Instance';
 
 sub create_instance {
        my ($self, $class) = @_;
-    $self->bless_instance_structure(\(my $instance));
+        bless \(my $instance), $self->_class_name;
 }
 
 sub get_slot_value {
@@ -185,7 +185,7 @@ Yuval Kogman E<lt>nothingmuch@woobling.comE<gt>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2006 by Infinity Interactive, Inc.
+Copyright 2006-2008 by Infinity Interactive, Inc.
 
 L<http://www.iinteractive.com>