So I've got to ask, because I really cannot find anyone giving a clear explanation (I suspect weak google-foo and knuckle-headedness on my part). But what exactly does the 'recurse' option for pod2html really do? Because I cannot seem to coerce it into doing anything **I** think it should do. The command does create two tmp files (pod2htmd.tmp and pod2htmi.tmp) that appear as though they would be downright useful for what I want, I just don't seem to get it.

What I want of course, is for it to recursively search through directories creating *.html files out of anything with perlpod in it. For me, this happens to include *.pod, *.pm and *.pl files. As an added bonus, I have other files with different, or no extensions that have perlpod in them also I would like it to convert.

It is made easier perhaps in that every directory with files in it with perlpod, ALL of them in that directory have perlpod.

I've started looking at some of the other ones out there like Pod::Simple::HTMLBatch, but it really bothers me that pod2html has this option that seems like it actually wants to do what I want, but just doesn't do it.


In reply to pod2html --recurse by KeighleHawk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.