From: YAMASHINA Hio Date: Wed, 8 Aug 2007 01:12:06 +0000 (+0900) Subject: patch for perlboot.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3e9e48b02665908f2b687d41f69bc085339560b8;p=p5sagit%2Fp5-mst-13.2.git patch for perlboot.pod Message-Id: <20070808011206.db7d5184.hio@hio.jp> p4raw-id: //depot/perl@31685 --- diff --git a/pod/perlboot.pod b/pod/perlboot.pod index bd39c44..e0cd32b 100644 --- a/pod/perlboot.pod +++ b/pod/perlboot.pod @@ -336,7 +336,7 @@ subroutine. Also note that the C classname is now hardwired into the subroutine selection. This is a mess if someone maintains the code, -changing C<@ISA> for and didn't notice C there in +changing C<@ISA> for C and didn't notice C there in C. 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 operator. This returns a string (the classname) when used on a -blessed reference, and C 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 method first to notice the change: sub name {