Here's a solution without using File::Find that's pretty simple and I think covers all your requirements (that is, if you are on Linux) ...
What is in the code you had posted would make it not work on UNIX or Unix-like OSen?
In reply to Re^2: in Perl find call looking to exclude folder and ignore duplicate finds.
by parv
in thread in Perl find call looking to exclude folder and ignore duplicate finds.
by ss_ham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |