That should be
next if $all_qa_files =~ /^\.\.?$/;
But even that's not good enough. copy cannot copy directories, so you need to skip all directories, not just the special ones. The following will do the trick:
next if not -f "$qa_dir$all_qa_files";
In reply to Re^2: Yet Another File::Copy problem
by ikegami
in thread Yet Another File::Copy problem
by djbiv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |