[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[perl #60022] Typo in perldata



# New Ticket Created by  "ryan dilworth" 
# Please include the string:  [perl #60022]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60022 >


This is a bug report for perl from c.r.dilworth@gmail.com,
generated with the help of perlbug 1.35 running under perl v5.8.8.


-----------------------------------------------------------------
[Please enter your report here]

Noticed a bit of a typo in the first example of the Subscripts section of
perldata.  http://perldoc.perl.org/perldata.html#Subscripts

   print "Element Number 2 is", $myarray[2], "\n";

Should be changed to either:

   print "Element Number 3 is", $myarray[2], "\n";

or:

   print "Element Number 2 is", $myarray[1], "\n";

Especially considering the first sentence after the code example :)

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=docs
    severity=low
---

Follow-Ups from:
Daniel Frederick Crisman <daniel@crisman.org>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]