like
Dos windows pops up a message could not write permission denied on random file.foreach $f (@files) { open IN "$f" or die "$f, $!\n"; { local $/; $str = <IN>; } close IN; $str =~ s/old/new/ig; open OUT ">$f.new" or die "$f.new, $!"; print OUT $str; close OUT; }
But it works well when the list has few files. Weird?
Cheers,
Hanny J
In reply to Permission denied on network drive by songahji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |