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

Re: mkdir usage

by toolic (Bishop)
on Dec 21, 2012 at 02:07 UTC ( #1009830=note: print w/ replies, xml ) Need Help??


in reply to mkdir usage

You could also consider using File::Path::make_path
Comment on Re: mkdir usage
Download Code
Replies are listed 'Best First'.
Re^2: mkdir usage
by frozenwithjoy (Priest) on Dec 21, 2012 at 05:45 UTC
    Ya, this is my preferred option, because you don't need to test whether the directory already exists since it will make the directory if it needs to and won't complain if it already exists.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2016-05-01 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found