diff options
author | Daniel Frederick Crisman <daniel@crisman.org> | 2008-10-23 16:14:56 -0400 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2008-10-24 15:58:53 +0000 |
commit | 2adc35ddaf8db18adcd670868af35e2971f35ab1 (patch) | |
tree | ee253f58ad72235bbd254f4ae43209becfabc55c | |
parent | 28ff97357ba270503bbb7e967e394dfe9c7a0639 (diff) | |
download | perl-2adc35ddaf8db18adcd670868af35e2971f35ab1.tar.gz |
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
-rw-r--r-- | pod/perldata.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod index 4503e9d8bd..b26360917a 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 |