Just another Perl shrine | |
PerlMonks |
paragraph mode and <DATA>by 7stud (Deacon) |
on Mar 12, 2011 at 22:53 UTC ( [id://892874]=perlquestion: print w/replies, xml ) | Need Help?? |
7stud has asked for the wisdom of the Perl Monks concerning the following question: Dear Monks, I can't get paragraph mode to work in the following example:
The code just slurps the whole file. I can read the file line by line--but not paragraph by paragraph. I also tried using $/ = "\n\n", but that doesn't work either.
Back to
Seekers of Perl Wisdom
|
|