Check out File::Path - it has a function mkpath which solves that problem for you. Anything to avoid an unnecessary system call ;-) (Also note that this is part of the standard perl distribution so you can just use it anywhere without having to require extra modules.)
In reply to Re^3: Recursion and Such
by Tanktalus
in thread Recursion and Such
by Grundle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |