in reply to Re^2: Recursion and Such
in thread Recursion and Such

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.)

Replies are listed 'Best First'.
Re^4: Recursion and Such
by Grundle (Scribe) on Jan 31, 2005 at 21:22 UTC
    Wow, that is a great suggestion. Thanks for the tip, I definitely prefer not to make direct calls to the system.