On Thu, Oct 31, 2002 at 03:49:41PM +0000, Steve Purkis wrote: > Hi Michael & co., > > I've been working on a manifypod -related system, and have had to tweak > ExtUtils::MM_Unix subs so that: > (a) I understood what they did (is this an obfustacted perl > contest? :-) > (b) I could get my work done. > > My solution lives in a Makefile.PL, but it didn't take long to push it > back > into ExtUtils::MM_Unix and whip up a patch. Unfortunately I don't have > time to test it on any other flavour of Unix than Mac OS X 10.1.5 (with > Perl 5.8 and Gnu Make 3.79), or even to write tests for it - sorry in > advance. > > But still, I thought you might find it of some use in your quest to > clean up > MakeMaker ;-). So the patch is attached.
I sort of see what you're doing here, this is just a cleanup, right? No new features introduced? If I could ask you to take another whack a this, modify your patch so that rather than using the pod2man binary it uses the Pod::Man module. [1] If nothing else it'll be a lot faster to have one process calling Pod::Man->parse_from_file multiple times than calling pod2man once for each individual POD file. [1] PS You might find these slides from the Refactoring talk useful or at least amusing. They talk specificly about the icky POD2MAN code. http://www.pobox.com/~schwern/talks/Refactoring/slides/slide020.html [1] This means 5.5.3 users will have to install Pod::Man. Oh well. [2] 5.6.1 introduced a pod2man which could do multiple conversions in one command. Unfortunately, we much be backwards compatible to 5.5.3. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Only mindless violence can raise my spirits now!
