in reply to Re^3: DDJ Test for Perl
in thread DDJ Test for Perl

Paraphrasing, there are two possible questions being asked:

Given an array whose elements do not have any line feeds (or carriage returns, etc.):

  1. How do you print the entire array all on one line?
  2. How do you print each element of the array on a separate line?

Based on the wording I think the question is actually asking the first question though the author thinks he is asking the second one.