projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c782dc1
)
Fix a typo in perlootut
author
Dave Rolsky
<autarch@urth.org>
Mon, 6 Aug 2012 02:00:49 +0000
(21:00 -0500)
committer
Dave Rolsky
<autarch@urth.org>
Mon, 6 Aug 2012 02:01:01 +0000
(21:01 -0500)
pod/perlootut.pod
patch
|
blob
|
history
diff --git
a/pod/perlootut.pod
b/pod/perlootut.pod
index
b2e3500
..
112d2ee
100644
(file)
--- a/
pod/perlootut.pod
+++ b/
pod/perlootut.pod
@@
-218,8
+218,8
@@
Polymorphism is one of the key concepts of object-oriented design.
=head2 Inheritance
B<Inheritance> lets you create a specialized version of an existing
-class. Inheritance lets the new class
to reuse the methods and
-a
ttributes of a
nother class.
+class. Inheritance lets the new class
reuse the methods and attributes of
+another class.
For example, we could create an C<File::MP3> class which B<inherits>
from C<File>. An C<File::MP3> B<is-a> I<more specific> type of C<File>.