in reply to Problem displaying text with CGI

i would try some thing like this:
<textarea row=25 cols=50> $comment =~ s/\n/<br>/g; $comment =~ s/\t/nbspnbspnbspnbsp/g;