Both of these look pretty simple.  $array[N-1] (should it be
capitalized? just thought of that) is the Nth element, if $array[0] is
the first.  The second fix just looks like a transposition.

Hovav.

---=== beginning of patch ===---
diff -ruN orig/tutorial/PickingUpPerl/pickingUpPerl.texi 
working/tutorial/PickingUpPerl/pickingUpPerl.texi
--- orig/tutorial/PickingUpPerl/pickingUpPerl.texi      Sun Oct  3 20:39:30 1999
+++ working/tutorial/PickingUpPerl/pickingUpPerl.texi   Sat Jan  8 03:18:37 2000
@@ -2399,7 +2399,7 @@
 First of all, for an array, @code{@@array}, of @code{N} elements.  There
 are scalar variables @code{$array[0]}, @code{$array[1]}, @dots{},
 @code{$array[n-1]} that contain first, second, third, @dots{},
-@math{(n-1)}st elements in the array, respectively.  The variables in
+@math{n}th elements in the array, respectively.  The variables in
 this format are full-fledged scalar variables.  This means that anything
 you can do with a scalar variable, you can do with these elements.  This
 gives a way to access array elements by subscript, and it gives a way to
@@ -2633,7 +2633,7 @@
 inherited those same control structures.  It also has added a few of its
 own.
 
-As you being to learn about Perl's control structures, realize that a
+As you begin to learn about Perl's control structures, realize that a
 good number of them are syntactic sugar.  You can survive using only a
 subset of all the control structures that are available in Perl.  You
 should use those with which you are comfortable.  Obey the ``hubris'' of
---=== end of patch ===---

Reply via email to