in reply to Re: Win32 Recursive Directory Listing
in thread Win32 Recursive Directory Listing

You might better want to use backticks or pipe-open instead of system to get the output on STDOUT...

e.g backticks

my @files = `dir /b /s`; chomp(@files);
or with pipe-open:
unless (open (DIR, "dir /b /s |")){ die "Error: couldn't execute dir-command: $!\n"; } else { my @files = <DIR>; close (DIR); chomp(@files); }

Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"