in reply to Converting carriage returns to HTML breaks
Are you certain they're carriage returns? That's \r, not \n.
You might need to post some example input and output otherwise.
Improve your skills with Modern Perl: the free book.
In Section
Seekers of Perl Wisdom