Please give any suggestion or snippet or anything that may work.
I have already tried wanted function but how do I exclude some directory while recursing?
Please give any suggestion or snippet or anything that may work.
I have already tried wanted function but how do I exclude some directory while recursing?
In Linux, you can make use of the Linux "find" and "grep" commands and run those Linux commands in Perl using qx to store Linux command result in Perl.
e.g.
The above command combinations do the following:
You can do the similar thing in Windows. The only difference is to use the Windows command line.
e.g.
The above command will list all the directory recursively except the directory has name "workspace" or "TVM".