Keith Lofstrom wrote: > I will ask the local perlmonger's group if there is a good way to > replace the "mkdir" in the dirvish script with something that will do > "mkdir -p" properly, and that can go into a patch of dirvish, and a > future version of dirvish if enough dirvish users want to participate > to make that happen.
mkdir -p can be done via: ----------------------- use File::Path; #perhaps it might be interesting to first change the umask? #umask 0000; my @created_paths = mkpath( $path, 0, 0775 ); die "could not create path '$path'" if @created_paths == 0; -------------------------- If you have perldoc installed you can read about this module in the documentation: perldoc File::Path Greetings, Arno _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
