in reply to Replacing line returns with br

I have had success with
$text =~ s/\r\n/<BR>/g;
HTH
jg
_____________________________________________________
If it gets a little bit out of hand sometimes, don't let it fool you into thinkin' you don't care.TvZ