summaryrefslogtreecommitdiff
path: root/pod/perlootut.pod
diff options
context:
space:
mode:
authorDave Rolsky <autarch@urth.org>2012-08-05 21:00:49 -0500
committerDave Rolsky <autarch@urth.org>2012-08-05 21:01:01 -0500
commitb166eea9cd004d916f7322015c1c4337c549ac08 (patch)
tree5181e596f546af2d3017fadf3dd12d0f5b8887b4 /pod/perlootut.pod
parentc782dc1db597b30ceb55455cfa926e7c4b620944 (diff)
downloadperl-b166eea9cd004d916f7322015c1c4337c549ac08.tar.gz
Fix a typo in perlootut
Diffstat (limited to 'pod/perlootut.pod')
-rw-r--r--pod/perlootut.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlootut.pod b/pod/perlootut.pod
index b2e3500b35..112d2ee910 100644
--- 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
-attributes of another 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>.