我的程序读取一个文件,我不想把空行检测空行(仅包含空格)在Perl
但是这个代码同时打印空行
的文件我测试包含:
Ms. Ruth Dreifuss Dreifuss Federal Councillor Federal ruth
sir christopher warren US Secretary of state secretary of state
external economic case federal economic affair conference the Federal Office case
US bill clinton bill clinton Mr. Bush
Nestle food cs holding swiss Swiss Performance Index Performance
你可以发布“空行”的转储吗? 'print join'',映射ord,split //,$ ligne'。 – choroba
程序打印10 –