in reply to recursive directory navigation

If you know that it's always only one level deep, you can just as well use glob:

my @files = glob '*/*.{xyz,asd}';

See perlintro for help on the actual processing step.