open my $file, '<:crlf', 'environments.txt' or die $!; while (@temp) { chomp; print; }
The crlf IO layer converts crlf into \n while reading.
In reply to Re: crlf to \n
by moritz
in thread crlf to \n
by rgb96
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |