"Michael G Schwern via RT" <bug-ExtUtils-MakeMaker@rt.cpan.org> writes:
Show quoted text> In general, there should be no functionality in a program which is not
> window-dressing over an API call. If pod2man has a "delete empty man
> page after generation" option, Pod::Man should do it, too. Programs are
> hard to use by other programs and they are difficult to test.
Show quoted text> Whether it's on by default is another matter, programs and APIs have
> different use cases.
Show quoted text> I would suggest...
Show quoted text> * The functionality be added to Pod::Man as an option to new().
> * pod2man changed to use that option.
> * MakeMaker (and Module::Build) pass the option to Pod::Man->new.
Show quoted text> This improves the functionality of Pod::Man for all, avoids duplicating
> code in MakeMaker (and everywhere else) and removes the last piece of
> functional code from pod2man making it purely a command line wrapper.
Yeah, that's a reasonable way to approach the problem. Will do, although
it's going to get blocked on the other things that need to go into the
next release, so it may be a while before it makes it into a released
version.
--
#!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker
$^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD,
00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{
rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print