On Tue, Nov 12, 2002 at 09:40:37PM +0000, Steve Purkis wrote:
> Thanks for running through your thought process - it makes good sense,
> and you've pointed out a lot of things I didn't/wouldn't think of.  So 
> I've
> prepared another patch that takes these into account, this time on the
> MakeMaker 6.05 source.  It passes the test suite on OS X.
> 
> Putting pod2man() in ExtUtils::Command::MM was a good idea - wish
> I'd known the module existed in the first place ;-).  It _was_ a long 
> command,
> and if moving it avoids/fixes bugs then all the better.
> 
> But one thing's been nagging the back of my head -- we're re-inventing
> the pod2man wheel here.  So what about sticking the pod2man code
> (which has been reduced to a mere 50 lines of mostly GetOpt work) into
> it's own module and have both the binary & the Command::MM extension
> use it?

Sticking it into its own module like say... Pod::Man? :)

Pod::Html already has a pod2html function which takes exactly the same
arguments as the pod2html program and the program is a very thin wrapper
around that function.  You could patch the same sort of thing into Pod::Man
and then patch bleadperl's pod2man to use it.

Unfortunately, none of this helps us because we have to carry around the big
Backwards Compatibility rock.  Everyone who upgraded MakeMaker would also
have to upgrade Pod::Man and its Bad to have to install a module before you
upgrade your module installer.

That's why maintaining MakeMaker sucks. ;)


> But baby steps - I've moved pod2man() into ExtUtils::Command::MM,
> and we can worry about the above later.
> 
> Finally, the patch does *not* define POD2MAN_EXE as you said not
> to worry about it (but it should be easy enough to fill in, or extract
> from the previous patches, if required). It also contains a couple of
> minor cleanups at the beginning of MM_Unix.pm and
> Command/MM.pm, though I haven't changed any $version numbers.

Ok, lemme look through this.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
It should indeed be said that notwithstanding the fact that I make
ambulatory progress through the umbragious inter-hill mortality slot,
terror sensations will no be initiated in me, due to para-etical phenomena.

Reply via email to