diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-01-01 23:22:10 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-01-01 23:22:10 +0000 |
commit | 50506ccda720750b3bbc2c0faf490ef15854f7f3 (patch) | |
tree | e56a237ac0d69974097549475aa45ec006a125dc /pod | |
parent | 029f3b4481eb14b016dea8aa8fb43279a710daa3 (diff) | |
download | perl-50506ccda720750b3bbc2c0faf490ef15854f7f3.tar.gz |
addition to 22036 (document SUPER better): superclass may be plural
p4raw-id: //depot/perl@22037
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlbot.pod | 4 | ||||
-rw-r--r-- | pod/perlobj.pod | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlbot.pod b/pod/perlbot.pod index 4507d4f1c7..91723b70d7 100644 --- a/pod/perlbot.pod +++ b/pod/perlbot.pod @@ -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 diff --git a/pod/perlobj.pod b/pod/perlobj.pod index 16013fc903..156a0b8506 100644 --- a/pod/perlobj.pod +++ b/pod/perlobj.pod @@ -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: |