From: Daniel Frederick Crisman Date: Thu, 23 Oct 2008 20:14:56 +0000 (-0400) Subject: Re: [perl #60022] Typo in perldata X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2adc35ddaf8db18adcd670868af35e2971f35ab1;p=p5sagit%2Fp5-mst-13.2.git Re: [perl #60022] Typo in perldata Message-ID: <20081024001456.GA4137@fury.crisman.org> Change from cardinal to ordinal numbering to avoid confusion. p4raw-id: //depot/perl@34566 --- diff --git a/pod/perldata.pod b/pod/perldata.pod index 4503e9d..b263609 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -674,7 +674,7 @@ name of the array (without the leading C<@>), then the subscript inside square brackets. For example: @myarray = (5, 50, 500, 5000); - print "Element Number 2 is", $myarray[2], "\n"; + print "The Third Element is", $myarray[2], "\n"; The array indices start with 0. A negative subscript retrieves its value from the end. In our example, C<$myarray[-1]> would have been