This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
more typo fix for perlxstut.pod
[perl5.git] / pod / perlboot.pod
index f4327a7..5aa6179 100644 (file)
@@ -253,7 +253,7 @@ The easiest is to just spell the package name out:
 
     @Cow::ISA = qw(Animal);
 
-Or declare it as package global variable:
+Or declare it as package global variable:
 
     package Cow;
     our @ISA = qw(Animal);
@@ -442,7 +442,7 @@ variations.
 
 Now, what about data?
 
-=head2 A horse is a horse, of course of course -- or is it?
+=head2 A horse is a horse, of course of course, or is it?
 
 Let's start with the code for the C<Animal> class
 and the C<Horse> class:
@@ -538,7 +538,7 @@ the name:
 
 Inside C<Horse::name>, the C<@_> array contains:
 
-    (C<$horse>, "some", "unnecessary", "args")
+    ($horse, "some", "unnecessary", "args")
 
 so the C<shift> stores C<$horse> into C<$self>. Then, C<$self> gets
 de-referenced with C<$$self> as normal, yielding C<"Mr. Ed">.