http://www.perlmonks.org?node_id=159483

TheHobbit has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I would like to modify the Makefile.PL generated by h2xs in order to do the following:

When 'make' run pod2man, it should use the -d and -r flags whit arguments deduced from the source of the module and/or by executing some command.

Reading the documentation, it appears that I must add to Makefile.PL something like

{ package My; sub manifypods { #something here } }

But I don't know what to put into the manifypods subroutine. Any monk could help me? 10q

--
Leo TheHobbit
GED/CS d? s-:++ a+ C++ UL+++ P+++>+++++ E+ W++ N+ o K? !w O? M V PS+++
PE-- Y+ PPG+ t++ 5? X-- R+ tv+ b+++ DI? D G++ e*(++++) h r++ y+++(*)