There's a lot of redundant code in MakeMaker because there's no common idiom
for "cd into this directory and run this command".
Most can handle this:
cd foo && command
But nmake does this:
cd foo
command
cd ..
And VMS does this:
startdir = F$Environment("Default")
Set Default [.foo]
command
Set Default 'startdir'
I recently found myself adding code like this to distdir and I'll be damned
if I'm going to duplicate it three times. So I wrote a method to generate
this code for me. See MM_Any->cd and the implementations in MM_Unix,
MM_Win95 and MM_VMS.
Now I'm going through and tearing out all the redundancies caused by this
as I can. I'm probably going to break something on nmake and VMS in the
process. So I need testers.
You can either grab a copy from the repository or get a tarball
from this yucky URL.
http://svn.schwern.org/websvn/listing.php?repname=CPAN&path=%2FCPAN%2FExtUtils-MakeMaker%2Ftrunk%2F&rev=0&sc=0
--
Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/
Mines are equal opportunity weapons.