stuff
Stevan Little [Fri, 28 Apr 2006 12:08:19 +0000 (12:08 +0000)]
examples/InsideOutClass.pod

index aaf581a..036da24 100644 (file)
@@ -30,7 +30,7 @@ sub set_slot_value {
 
 sub initialize_slot {
     my ($self, $instance, $slot_name) = @_;
-    $self->{meta}->add_package_variable('%' . $slot_name); 
+    $self->{meta}->add_package_variable(('%' . $slot_name) => {}); 
     $self->{meta}->get_package_variable('%' . $slot_name)->{refaddr $instance} = undef;
 }