I do not know how to put two directories files into one array correctly. Please help. Thanksmy Dir1 = "d:/xxxxxx"; my Dir2 = "d:/xxxxxx"; my @files = glob ("$Dir1/*" \& "$Dir2/*"); for my $file (@file) {print $file, "\n"}
In reply to list two paths files into one array by ytjPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |