Permalink
Browse files

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

<fegolac@gmail.com>.
  • Loading branch information...
1 parent 3fdf161 commit 908946fe3447d41e64f7d87b4401ac2434babe18 @chromatic committed Oct 9, 2009
Showing with 8 additions and 5 deletions.
  1. +3 −0 CREDITS
  2. +5 −5 sections/arrays.pod
View
@@ -5,3 +5,6 @@ E: <email address>
N: chromatic
M: chromatic@wgz.org
+
+N: Felipe
+E: fegolac@gmail.com
View
@@ -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

0 comments on commit 908946f

Please sign in to comment.