Change this line to:
chomp(my @files = $^O eq 'MSWin32' ? `dir /b $path` : `ls -a $path`);
/b is closer to -A than -a, but that is easily worked around if necessary.
In reply to Re: How to perform recursion in any OS?
by BrowserUk
in thread How to perform recursion in any OS?
by rollec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |