Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: A warning about passing mountpoints as arguments to directory recursion programmes

by davido (Archbishop)
on Apr 26, 2013 at 14:20 UTC ( #1030839=note: print w/replies, xml ) Need Help??


in reply to A warning about passing mountpoints as arguments to directory recursion programmes

Anytime I prepare to act upon several files that are selected programatically (such as using File::Find or File::Find::Rule), I first disable the action code, and switch it to logging code so that I can see what files would be acted upon if the action code were live. Anytime I forget to do that I end up creating a mess.


Dave

  • Comment on Re: A warning about passing mountpoints as arguments to directory recursion programmes