Skip to content
This repository
Browse code

[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 2 changed files with 8 additions and 5 deletions. Show diff stats Hide diff stats

  1. +3 0  CREDITS
  2. +5 5 sections/arrays.pod
3  CREDITS
@@ -5,3 +5,6 @@ E: <email address>
5 5
6 6 N: chromatic
7 7 M: chromatic@wgz.org
  8 +
  9 +N: Felipe
  10 +E: fegolac@gmail.com
10 sections/arrays.pod
Source Rendered
@@ -92,11 +92,11 @@ You can assign to individual positions in an array directly by index:
92 92 =begin programlisting
93 93
94 94 my @cats;
95   - $cat[0] = 'Daisy';
96   - $cat[1] = 'Petunia';
97   - $cat[2] = 'Tuxedo';
98   - $cat[3] = 'Jack';
99   - $cat[4] = 'Brad';
  95 + $cats[0] = 'Daisy';
  96 + $cats[1] = 'Petunia';
  97 + $cats[2] = 'Tuxedo';
  98 + $cats[3] = 'Jack';
  99 + $cats[4] = 'Brad';
100 100
101 101 =end programlisting
102 102

0 comments on commit 908946f

Please sign in to comment.
Something went wrong with that request. Please try again.