foreach my $file (@the_files) {move ($here, $there)}
You should check for success. Always. Always!
foreach my $file (@the_files) { move ($here, $there) or die "something weird happened moving '$here' to '$there': $ +!\n" }
In reply to Re: How do I move array contents into a directory?
by shmem
in thread How do I move array contents into a directory?
by tonyz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |