in reply to Big paregraphs in Perl

If you are going to manipulate a text, then my choice would be parse line by line instead of paragraph.