summaryrefslogtreecommitdiff
path: root/pod/perlobj.pod
diff options
context:
space:
mode:
authorDave Rolsky <autarch@urth.org>2013-02-17 19:38:34 -0600
committerDave Rolsky <autarch@urth.org>2013-02-17 19:46:23 -0600
commit3139bffb2f1cfb088f4296f6bc082aff9550289b (patch)
tree3ccacb3da539871b2d1a71ebb5803a9249fa1bd6 /pod/perlobj.pod
parenta53d211fc419ac5ad57fec64f3d43f351aea51f3 (diff)
downloadperl-3139bffb2f1cfb088f4296f6bc082aff9550289b.tar.gz
Remove two superfluous commas in perlobj
Diffstat (limited to 'pod/perlobj.pod')
-rw-r--r--pod/perlobj.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlobj.pod b/pod/perlobj.pod
index 448fcfeeac..8ae7c29430 100644
--- a/pod/perlobj.pod
+++ b/pod/perlobj.pod
@@ -685,7 +685,7 @@ thing as well:
=head3 Indirect Object Syntax
X<indirect object>
-B<Outside of the file handle case, use of this syntax is discouraged,
+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"
@@ -911,7 +911,7 @@ then the error will change the value of C<$@>.
Because C<DESTROY> methods can be called at any time, you should
localize any global variables you might update in your C<DESTROY>. In
particular, if you use C<eval {}> you should localize C<$@>, and if you
-use C<system> or backticks, you should localize C<$?>.
+use C<system> or backticks you should localize C<$?>.
If you define an C<AUTOLOAD> in your class, then Perl will call your
C<AUTOLOAD> to handle the C<DESTROY> method. You can prevent this by