Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Pod::HtmlTree 0.97

    Download button

    No screenshots available
    Downloads: 400  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.0/5)
    4 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mike Schilli | More programs
    Perl Artistic License / FREE
    October 22nd, 2010, 10:16 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Pod::HtmlTree description

    A Perl module to create a hierarchy of HTML documents from your module's PMs

    SYNOPSIS

    use Pod::HtmlTree qw(pod2htmltree);
    pod2htmltree($httproot);

    So you've just created a great new Perl module distribution including several *.pm files? You've added nice POD documentation to each of them and now you'd like to view it nicely formatted in a web browser? And you'd also like to navigate between all those manual pages in your distribution and even view their source code? Read on, Pod::HtmlTree is what you need.

    It traverses your module's distribution directory (which you've probably created using h2xs), finds all *.pm files recursivly and calls pod2html() on them, hereby resolving all POD links (L style).

    Patching SEE ALSO and WHERE'S THE SOURCE?

    It then saves the nicely formatted HTML files under docs/html and updates each's SEE ALSO section to contain links to every other *.pm file in you're module's distribution. So, if you want that, please make sure your documentation contains a SEE ALSO section.

    Also, at the end of the SEE ALSO section, it'll add a link to the source code of the current *.pm file, just in case a user wants to browse it because there's issues which aren't clear from the documentation.

    It also adds a stylesheet to docs/html, which is referenced by every HTML file.

    So, in order to obtain HTML documentation for all your distribution's files, just call the script (which comes with the distribution of this module)

    pod2htmltree httproot

    while you're located in the top directory of your module's distribution. What's in httproot is explained below.

    The script pod2htmltree just calls

    use Pod::HtmlTree;
    Pod::HtmlTree::pod2htmltree($ARGV[0]);

    internally, if you want to call it from within Perl, that's the way to go.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    HTML documents | HTML tree | Perl module | HTML | tree | documents

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM