copyright date changes on Class::MOP
[gitmo/Class-MOP.git] / examples / C3MethodDispatchOrder.pod
index 419bb12..f6156d5 100644 (file)
@@ -44,14 +44,14 @@ C3MethodDispatchOrder->meta->add_around_method_modifier('initialize' => sub {
 sub superclasses {
     my $self = shift;
     
-    $self->add_package_variable('@SUPERS' => [])    
-        unless $self->has_package_variable('@SUPERS');
+    $self->add_package_symbol('@SUPERS' => [])    
+        unless $self->has_package_symbol('@SUPERS');
             
     if (@_) {
         my @supers = @_;
-        @{$self->get_package_variable('@SUPERS')} = @supers;
+        @{$self->get_package_symbol('@SUPERS')} = @supers;
     }
-    @{$self->get_package_variable('@SUPERS')};        
+    @{$self->get_package_symbol('@SUPERS')};        
 }
 
 sub class_precedence_list {
@@ -121,13 +121,15 @@ This example could be used as a template for other method dispatch orders
 as well, all that is required is to write a the C<class_precedence_list> method 
 which will return a linearized list of classes to dispatch along. 
 
-=head1 AUTHOR
+=head1 AUTHORS
 
 Stevan Little E<lt>stevan@iinteractive.comE<gt>
 
+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>