I can't believe this isn't more obvious to me, but does anyone have any suggestions as to which module/method exists in the default TS installation to return a list of files beneath a directory on Windows?
E.g.
my
@files = Some::Module::get_all_files_below_dir("C:/Temp");
I see that File::Listing is **** close, but it's only implemented for Unix "ls -l" type output.
I was playing around with File::Find for a while, but my problem there is that I want to be able to push files on to an array, but all the syntax for defining the wanted() method or a preprocess method don't support passing them arguments...so I'd be left manipulating a global array, and that ain't thread safe for a module that'll be used across lots of different modules.