高手帮忙看看

高手帮忙看看

高手帮忙看看
file的内容是:
3 records with 2 features has been loaded
Runing loop 1
Runing loop 2
Runing loop 3
data point 0 is in cluster 0
data point 1 is in cluster 0
data point 2 is in cluster 0

但是我执行下面代码后
open(FILE,"C:\\temp\\result.txt");
while($line = <FILE>)
{
$line =~ s/^Runing.*\n$//g;
print($line);
}

显示在Web界面下结果的格式就变成下面这样了

3 records with 2 features has been loaded data point 0 is in cluster 0 data point 1 is in cluster 0 data point 2 is in cluster 0

没有了换行,怎么才能把格式改回来呢?
这个是html的问题,需要在分段处加强制分段符<br>,