|laziness, impatience, and hubris|
print an array for paragraphsby brassmon_k (Sexton)
|on Aug 20, 2001 at 23:36 UTC||Need Help??|
brassmon_k has asked for the
wisdom of the Perl Monks concerning the following question:
This should be easy for you guys but I never had to do it.
Okay I'm reading paragraphs in from $/
and splitting on the newline -
My problem is when the results print it comes out all jumbled. It prints readable text from what it found but it doesn't print them out on newlines. It's just one line right after the other like constant text. Let's say you had the numbers 1 through 10 but you wanted them to print out on newlines for each number - Example:
How can I get the print to do that? I know it's something with "$\" (The output record separator) or the "-l" command handling option for PERL but I don't know how to use them and the books I'm using don't help much in that area.