Possible typos in FAQ 5.39: "Why do I get weird spaces when I print an array of lines?".

[email protected] (Stephen McCrea) Wed, 13 Aug 2008 00:23:01 +0100
Newsgroups perl.perlfaq.workers
Message-ID <[email protected]>
Hi,

I think, though unfortunately am not sure, that there are some typos in 
FAQ 5.39: "Why do I get weird spaces when I print an array of lines?".

In paragraph two (paragraph numbers ignore the code snippets) it says: 
"Whenever you interpolate an array in a double quote contexts...".  I 
think this should read: "...double quote context...".

The previous sentence continues: "...Perl joins the elements of 
spaces...".  Did the author mean to phrase it this way?

The third paragraph reads: "This is different than print the array 
without the interpolation:".  Would "printing" or "print-ing" be 
better?  (I find "different than" a little odd but that may be a UK/US 
thing.)

The fourth paragraph is: "Now the output doesn't have the spaces between 
the elements because the elements of |@animals| simply becoming part of 
the list to |print|:".  "...simply become..." sounds better.

The fifth paragraph begins: "You might notice this when each of the 
elements of |@array| end with a newline."  That should read "...ends 
with a newline." because it refers to each element (singular).

The second sentence in the sixth paragraph reads: "If you don't want to 
put anything between your array elements, don't use it in double 
quotes.".  The "it" refers to the array in the previous sentence so it 
may be better to spell it out: "...don't use the array in...".

Finally(!), the FAQ ends very abruptly.  Was this the author's intention?

Regards, Stephen.

-- 
Stephen McCrea