http://www.perlmonks.org?node_id=1009830


in reply to mkdir usage

You could also consider using File::Path::make_path

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.