Change 31685 by [EMAIL PROTECTED] on 2007/08/08 09:13:00
Subject: patch for perlboot.pod
From: YAMASHINA Hio <[EMAIL PROTECTED]>
Date: Wed, 8 Aug 2007 01:12:06 +0900
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/pod/perlboot.pod#11 edit
Differences ...
==== //depot/perl/pod/perlboot.pod#11 (text) ====
Index: perl/pod/perlboot.pod
--- perl/pod/perlboot.pod#10~31107~ 2007-04-30 02:22:58.000000000 -0700
+++ perl/pod/perlboot.pod 2007-08-08 02:13:00.000000000 -0700
@@ -336,7 +336,7 @@
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 @@
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 {
End of Patch.