in reply to Re: Question about creating PPM's...
in thread Question about creating PPM's...

They DO use the module name IF the module has a NAME section that has the format "Module::Name - Abstract" (which most do, but not all). Otherwise, it puts the path there.

Maybe AS's routines should be more aggressive about trying to find a name?

Replies are listed 'Best First'.
Re^3: Question about creating PPM's...
by randyk (Parson) on Aug 26, 2006 at 18:49 UTC

    That's true - the problem only arises in the circumstances you found in your original post.

    I think the place to start looking into this is the _translate sub of ActivePerl::DocTools::Tree::HTML. The title (and subsequent heading in the body) is coming from what Pod::Html generates. I guess possible fixes are
    • patch Pod::Html
    • pass pod2html a title option which handles these problem cases better (that's what Module-Build and PPM-Make do)
    • after generating the html, edit it to replace the title (_translate already is doing such editing for other things)

    Update: I filed a bug report (together with a patch) regarding this issue.