my $str = 'Hallo Welt\nZweiteZeile\nusw...'; $str=~s/\\n/\n/gs; print $str."\n";