[...]  elsif($line =~ /ServerName/){     chomp $line;     $line =~ s/^([^=]+=)/${1}$zielverzeichnis\r\n/;  } [...]