in reply to Re: Win32 Recursive Directory Listing
in thread Win32 Recursive Directory Listing
e.g backticks
or with pipe-open:my @files = `dir /b /s`; chomp(@files);
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"
|
|---|