On Thu, Oct 23, 2003 at 12:58:00PM +0100, Nick Ing-Simmons wrote:
> Is it worth adding a mkdir -p function to ExtUtils::Command?

We've already got it.  mkpath().


> That got created for Win32 (which lacked lots of things), but 
> now it is there we could use it on UNIX too. 

Unix uses it.  In fact, there's almost no use of 'mkdir' in the whole
thing.  A few stray bits in the less maintained parts, and the tests.

Now that we have a portable mkdir -p I could junk the whole INST_*/.exists 
thing to ensure that those directories exist and create them at the point 
they're used, like we do with nearly every other directory.  Problem with 
that is finding all the places its used.

I'd rather avoid making a large change like that if I can.  If I can
just timestamp off some other file, that would work.


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
Plus I remember being impressed with Ada because you could write an
infinite loop without a faked up condition.  The idea being that in Ada
the typical infinite loop would be normally be terminated by detonation.
        -- Larry Wall in <[EMAIL PROTECTED]>

Reply via email to