Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: mkdir in loop - overwrite danger?

by RichardK (Parson)
on Dec 22, 2015 at 18:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1150972]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found