Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: removing directories with wildcard glob in OS-portable way

by Anonymous Monk
on Dec 30, 2012 at 03:53 UTC ( #1010879=note: print w/ replies, xml ) Need Help??


in reply to Re^3: removing directories with wildcard glob in OS-portable way
in thread removing directories with wildcard glob in OS-portable way

Pretty shallow trees (1 level, a few subdirs, a few thousand files total) and the operation only happens once per run (a run may persist for hours to weeks or possibly months), so this does not need to be optimized at all. I was more concerned about heading off any "why doesn't your code work on my non-*nix OS?" Will trade processor cycles for programming cycles here, I think, and avoid having to know about all those DOS /flags, and similarly for any other OS somebody tries to use.

But that sort of thing--dropping to the system level for intensive file management--is good to know if I need increased performance for similar tasks in the future.


Comment on Re^4: removing directories with wildcard glob in OS-portable way

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-10-30 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls