Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: File::Find help

by colox (Sexton)
on Dec 02, 2017 at 15:19 UTC ( [id://1204743]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1204743]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found