note
atcroft
<p>Have you checked the return status of the chmod command? For instance,
<code>
my $filename = q{deletefiles.txt};
chmod 0777, $filename or die $!;
open my $OUTPUT, q{+>}, $filename or die $!;
</code>
<p>Hope that helps.
<p><b>Update</b>: 2011-03-11
<p>Fixed missing semicolon on line 2 of code example causing error referred to in [id://892591].
892582
892582