in reply to recursive mkdir

If you're running on a Unix-like system, then you could always use

system("mkdir -p $dir");

which will create all intermediate directories.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

Replies are listed 'Best First'.
Re: Re: recursive mkdir
by Nakano (Novice) on Jan 08, 2001 at 22:18 UTC
    on many systems the command "mkdirhier" will create subdirectories as well.

    of course, the recursive perl solution *is* much cooler. ;)

    -Nakano