If you're running on a Unix-like system, then you could always use
system("mkdir -p $dir");
which will create all intermediate directories.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: recursive mkdir
by davorg
in thread recursive mkdir
by zzspectrez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |