Sorry, you will have to generate your final POD docs before it gets tar'ed.

One thing I'm not sure about (nor do I know if of interest to you) is whether CPAN will look at module.pod, if present, instead of module.pm

I am already generating POD using a filter I coded in Perl (and plan to share very soon). For my setup, my module.pm (or program.pl) files look like:

#!perl -w =begin DoxPod # Perl and DoxPod source go here =end DoxPod _END_

Then I can either

doxpod myModule.pm | perldoc to view,

doxpod myModule.pm >myModule.pod to make a separate POD file,

or doxpod myModule.pm | after_END_ myModule.pm to put or update the (re-) generated POD after the _END_

By using =begin and =end, "normal" POD parsers (hopefully including CPAN's information extractor) will skip the Dox-enhanced POD markup and use the generated POD


In reply to Re: Generated POD and CPAN/MetaCPAN by RonW
in thread Generated POD and CPAN/MetaCPAN by wanna_code_perl

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.