There's more than one way to do things | |
PerlMonks |
Dumb recursive mkdir question...by pileofrogs (Priest) |
on Oct 22, 2007 at 21:06 UTC ( [id://646577]=perlquestion: print w/replies, xml ) | Need Help?? |
pileofrogs has asked for the wisdom of the Perl Monks concerning the following question: If I want to make a directory called '/usr/local/foo/bar/baz', and I don't know if '/usr/local/foo/bar' or '/usr/local/foo' exists, is there a simple recursive mkdir command that I'm just failing to find, or do I have to roll my own? Or is there some reason that a recursive mkdir is a bad idea? Thanks!
Back to
Seekers of Perl Wisdom
|
|