in reply to
Replacing line returns with br
This worked for me, assuming that I understood your problem properly:
$_ =~ s/$\//<br>$\//g;
[download]
Comment on
Re: Replacing line returns with br
Download
Code
In Section
Seekers of Perl Wisdom