in reply to asterisk problems, and more

You can use the shell interpolate the wanted arguments:
chomp, push @files, `dir /b $_` for @ARGV; # now *pl file*txt and whatever are interpolated