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

I like Pod::XHTML because I get better control of the output formatting, but I really want the "--podpath" kind of searching in Pod::Html. Is this feasible? Assuming I know nothing about subclassing? (BTW, this is for https://www.openssl.org/docs/manpages )

Replies are listed 'Best First'.
Re: Adding "podpath" to Pod::XHTML?
by Anonymous Monk on Aug 19, 2015 at 22:54 UTC

    I like Pod::XHTML because I get better control of the output formatting, but I really want the "--podpath" kind of searching in Pod::Html. Is this feasible? Assuming I know nothing about subclassing? (BTW, this is for https://www.openssl.org/docs/manpages )

    What?

    What is your actual ultimate goal? Combine wrap pod2html in a perl script and Adding "podpath" to Pod::XHTML? a picture is starting to form, but the details are peculiar, can you clarify them?

    Does this help you in any way?

      That probably helps; I need to learn more and understand it :) I am trying to statically build openssl .pod manpages into our website, see https://www.openssl.org/docs/manpages.html I made the current script available at https://www.openssl.org/mk-manpages.pl It's pretty naive perl :) Especially once you look at a typical manpage. Feel free to write to me rsalz at the openssl website if that's easier (I promise to update this with any answers I get). Let me know if I didn't make myself clear enough!

        ah, ok, so do you want more general comments on that script? Are you satisfied with your pod-xhtml code ?

        The main thing I would do make more subs , maybe with more descriptive names

        Path::Tiny makes using File::Basename/File::Spec... more convenient, it even does "or die" for you most of the time

        Also included is subclassing Pod::Simple::XHTML if thats a direction you need

        So ask more questions please