I am new to perl script. I want to search for a each folder named “abc” in directory “pqr” and write path of each “abc” folder to a separate file (n.txt where n is an integer) in the form filename = pathOfABC. Can anyone please give me some hint on this?
Share
Since the task involves recursion, you can employ a module like
File::Find.