hey ya,

OK, how do i replace <CR> with \r\n in CGI?

I thought that

Code:
$Description = "This is <CR> LINE ONE <CR>LINE 2<CR> LINE THREE";

$Description =~ s/<CR>/\r\n/g;
should do it? (Seams like not though)

NE 1?

[oh btw this code:]

Code:
       $input{'a_text'} = "Line\r\n1\r\n2\r\n3";
       $input{'a_text'} =~ s/\r\n/<CR>/g;
makes it output to:
Line<CR>1<CR>2<CR>3