New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo in perldata #9538
Comments
From c.r.dilworth@gmail.comCreated by c.r.dilworth@gmail.comNoticed a bit of a typo in the first example of the Subscripts section of 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 :) Perl Info
|
From daniel@crisman.orgTo avoid any confusion about the equivalence (or lack there of) of I did not find any other use of 'element number' in blead and the dc On Mon, Oct 20, 2008 at 12:51:00PM -0700, ryan dilworth wrote:
|
From daniel@crisman.org34562-blead_perldata_index.diff--- blead/pod/perldata.pod 2008-09-19 17:04:17.000000000 -0400
+++ 34562_perldata_index/pod/perldata.pod 2008-10-23 18:08:00.000000000 -0400
@@ -674,7 +674,7 @@
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
|
The RT System itself - Status changed from 'new' to 'open' |
From @mhxOn 2008-10-23, at 20:14:56 -0400, Daniel Frederick Crisman wrote:
Thanks, applied as #34566. Marcus -- |
@mhx - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#60022 (status was 'resolved')
Searchable as RT60022$
The text was updated successfully, but these errors were encountered: