push accepts a list as the second "argument" (and provides list context in that position), so there's no need for the for loop around the second glob: push @files, glob "$Dir2/*"; is sufficient. Of course, now we've given the spoiler for my step #3... oh, well.
In reply to Re^2: list two paths files into one array
by pryrt
in thread list two paths files into one array
by ytjPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |