Instead of ".", did you mean "/"? Also check return status of copy (I assume you are using File::Copy):
copy("$f","$komp_dir/$f") or die "Copy failed: $!";
Also check the status of mkdir.
This looks wrong: next unless ( scalar my @array) == 4;
In reply to Re: Trouble copying files from an array to new dir
by toolic
in thread Trouble copying files from an array to new dir
by lomSpace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |