in reply to Re^4: Renaming files in dir
in thread Renaming files in dir

Oh yes, I found it:
foreach my $file (@fileet) { my $newfile = $file; $newfile =~ s/ä/ä/g; $newfile =~ s/ö/ö/g; move("$path/$file", "$path/$newfile"); }
The error was here
move("$path/$file", "$path/$newfile");