Help for this page
use File::Slurp; my $text = read_file('filename'); $text =~ s/\r\r/\r/g; print $text;