Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: mkdir in loop - overwrite danger?

by RichardK (Parson)
on Dec 22, 2015 at 18:41 UTC ( #1150972=note: print w/replies, xml ) Need Help??


in reply to mkdir in loop - overwrite danger?

Don't worry, the help for mkdir (on Linux anyway!) says :-

Create the DIRECTORY(ies), if they do not already exist.

You might want to use File::Path instead, as make_path returns the number of directories created.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2020-05-27 03:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (152 votes). Check out past polls.

    Notices?