summaryrefslogtreecommitdiff
path: root/pod/perlboot.pod
diff options
context:
space:
mode:
authorYAMASHINA Hio <hio@ymir.co.jp>2007-08-08 10:12:06 +0900
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-08-08 09:13:00 +0000
commit3e9e48b02665908f2b687d41f69bc085339560b8 (patch)
tree4ce653e9e01ae538d91ce3f717dfdb8ea0a1e14c /pod/perlboot.pod
parent0a2ca743617413a5ed2f7189f4985655c19f26ab (diff)
downloadperl-3e9e48b02665908f2b687d41f69bc085339560b8.tar.gz
patch for perlboot.pod
Message-Id: <20070808011206.db7d5184.hio@hio.jp> p4raw-id: //depot/perl@31685
Diffstat (limited to 'pod/perlboot.pod')
-rw-r--r--pod/perlboot.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlboot.pod b/pod/perlboot.pod
index bd39c44ea7..e0cd32b915 100644
--- a/pod/perlboot.pod
+++ b/pod/perlboot.pod
@@ -336,7 +336,7 @@ subroutine.
Also note that the C<Animal> classname is now hardwired into the
subroutine selection. This is a mess if someone maintains the code,
-changing C<@ISA> for <Mouse> and didn't notice C<Animal> there in
+changing C<@ISA> for C<Mouse> and didn't notice C<Animal> there in
C<speak>. So, this is probably not the right way to go.
=head2 Starting the search from a different place
@@ -610,7 +610,7 @@ shows up as we saw it just now.
All we need is for a method to detect if it is being called on a class
or called on an instance. The most straightforward way is with the
C<ref> operator. This returns a string (the classname) when used on a
-blessed reference, and C<undef> when used on a string (like a
+blessed reference, and an empty string when used on a string (like a
classname). Let's modify the C<name> method first to notice the change:
sub name {