in reply to Re: File::Find help
in thread File::Find help

hi those are some cool stuff!!!... thanks!... i quickly tried but some behavior is not what i wanted to occur: 1. the input directory is also deleted; i only wanted to remove the subdirectory 2. the input directory is also created into the output directory; i just need to create the subdirs & the files in it any other recommendation is much appreciated.

Replies are listed 'Best First'.
Re^3: File::Find help
by 1nickt (Canon) on Dec 02, 2017 at 15:38 UTC

    Hi, You just need to get your rules right and your visitor sub right. Read the Path::Iterator::Rule doc for the rules, and post your code here including the rules and your handler sub and we'll get it straight!


    The way forward always starts with a minimal test.