summaryrefslogtreecommitdiff
path: root/pod/perlobj.pod
diff options
context:
space:
mode:
authorDave Rolsky <autarch@urth.org>2013-02-17 19:43:42 -0600
committerDave Rolsky <autarch@urth.org>2013-02-17 19:46:28 -0600
commitf6fe275c937ceb508cdcfd033ce162e1fa01989e (patch)
tree6ec741291384fbef8dc40c6aaa3b09a58bab5028 /pod/perlobj.pod
parent3139bffb2f1cfb088f4296f6bc082aff9550289b (diff)
downloadperl-f6fe275c937ceb508cdcfd033ce162e1fa01989e.tar.gz
Remove two spaces after periods to keep the document consistent
Diffstat (limited to 'pod/perlobj.pod')
-rw-r--r--pod/perlobj.pod10
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlobj.pod b/pod/perlobj.pod
index 8ae7c29430..34a5332aa1 100644
--- a/pod/perlobj.pod
+++ b/pod/perlobj.pod
@@ -182,7 +182,7 @@ examined when Perl does method resolution, which we will cover later.
It is possible to manually set C<@ISA>, and you may see this in older
Perl code. Much older code also uses the L<base> pragma. For new code,
we recommend that you use the L<parent> pragma to declare your parents.
-This pragma will take care of setting C<@ISA>. It will also load the
+This pragma will take care of setting C<@ISA>. It will also load the
parent classes and make sure that the package doesn't inherit from
itself.
@@ -232,7 +232,7 @@ object (or class name), and the right hand side is the method name.
my $pod = File->new( 'perlobj.pod', $data );
$pod->save();
-The C<< -> >> syntax is also used when dereferencing a reference. It
+The C<< -> >> syntax is also used when dereferencing a reference. It
looks like the same operator, but these are two different operations.
When you call a method, the thing on the left side of the arrow is
@@ -685,8 +685,8 @@ thing as well:
=head3 Indirect Object Syntax
X<indirect object>
-B<Outside of the file handle case, use of this syntax is discouraged
-as it can confuse the Perl interpreter. See below for more details.>
+B<Outside of the file handle case, use of this syntax is discouraged as
+it can confuse the Perl interpreter. See below for more details.>
Perl suports another method invocation syntax called "indirect object"
notation. This syntax is called "indirect" because the method comes
@@ -875,7 +875,7 @@ you want to refer to do it without a package name prefix under C<strict
Without the C<our $AUTOLOAD> declaration, this code will not compile
under the L<strict> pragma.
-As the comment says, this is not a good way to implement accessors.
+As the comment says, this is not a good way to implement accessors.
It's slow and too clever by far. However, you may see this as a way to
provide accessors in older Perl code. See L<perlootut> for
recommendations on OO coding in Perl.