Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[arrays] Fixed a typo in an array code example. Reported by Felipe

<fegolac@gmail.com>.
  • Loading branch information...
commit 908946fe3447d41e64f7d87b4401ac2434babe18 1 parent 3fdf161
@chromatic authored
Showing with 8 additions and 5 deletions.
  1. +3 −0  CREDITS
  2. +5 −5 sections/arrays.pod
View
3  CREDITS
@@ -5,3 +5,6 @@ E: <email address>
N: chromatic
M: chromatic@wgz.org
+
+N: Felipe
+E: fegolac@gmail.com
View
10 sections/arrays.pod
@@ -92,11 +92,11 @@ You can assign to individual positions in an array directly by index:
=begin programlisting
my @cats;
- $cat[0] = 'Daisy';
- $cat[1] = 'Petunia';
- $cat[2] = 'Tuxedo';
- $cat[3] = 'Jack';
- $cat[4] = 'Brad';
+ $cats[0] = 'Daisy';
+ $cats[1] = 'Petunia';
+ $cats[2] = 'Tuxedo';
+ $cats[3] = 'Jack';
+ $cats[4] = 'Brad';
=end programlisting
Please sign in to comment.
Something went wrong with that request. Please try again.