There is the File::Path module (in the standard distribution of Perl even), which does exactly that, create intermediate directories if they don't exist.
In reply to Re: Perl API that emulates mkdir -p on unix?
by Corion
in thread Perl API that emulates mkdir -p on unix?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |