in reply to Problem displaying text with CGI

$comment =~ s/(\r\n|\n\r)/<BR>/g; $comment =~ s/(\n|\r)/<BR>/g;
will catch the fact that not all systems handle CR/LF pairs the same.

--Chris