This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
addition to 22036 (document SUPER better): superclass may be plural
authorDave Mitchell <davem@fdisolutions.com>
Thu, 1 Jan 2004 23:22:10 +0000 (23:22 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Thu, 1 Jan 2004 23:22:10 +0000 (23:22 +0000)
p4raw-id: //depot/perl@22037

pod/perlbot.pod
pod/perlobj.pod

index 4507d4f..91723b7 100644 (file)
@@ -243,8 +243,8 @@ where that method is defined.
        $foo->goo;
        $foo->google;
 
-Note that C<SUPER> refers to the superclass of the current package
-(C<Foo>), not to the superclass of C<$self>.
+Note that C<SUPER> refers to the superclasses of the current package
+(C<Foo>), not to the superclasses of C<$self>.
 
 
 =head1 USING RELATIONSHIP WITH SDBM
index 16013fc..156a0b8 100644 (file)
@@ -275,8 +275,8 @@ current class's C<@ISA> list.
         $self->SUPER::display("Name", @args);
     }
 
-It is important to note that C<SUPER> refers to the superclass of the
-I<current package> and not to the superclass of the object. Also, the
+It is important to note that C<SUPER> refers to the superclass(es) of the
+I<current package> and not to the superclass(es) of the object. Also, the
 C<SUPER> pseudo-class can only currently be used as a modifier to a method
 name, but not in any of the other ways that class names are normally used,
 eg: