use File::Path; eval { mkpath($path) }; if ($@) { print "Couldn't create $path: $@"; } [download]
In reply to Re: make directories from path by borisz in thread make directories from path by si_lence