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::Inherit 0.07

    Download button

    No screenshots available
    Downloads: 446  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    James Mastros | More programs
    Perl Artistic License / FREE
    August 9th, 2009, 16:18 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Pod::Inherit description

    Auto-create pod sections listing inherited methods

    Ever written a module distribution with base classes and dependencies, that had the pod for the various methods next to them, but hard to find for the user of your modules? Ever wished POD could be inheritable? Now it can.

    Pod::Inherit is a Perl module that will load each of the classes in the list of input files or directories given (default: @ARGV), auto-discover which methods each class provides, locate the actual class the method is defined in, and produce a list in pod.

    The resulting documentation is written out to a separate .pod file for each class (.pm) encountered. The new file contains the original POD from the Perl Module file, plus a section called INHERITED METHODS. The new section lists each class that the current class inherits from, plus each method that can be used in the current class as a result.

    By default, methods beginning with an underscore, _ are skipped, as by convention these are private methods.

    SYNOPSIS

     use Pod::Inherit;

     my $config = {
     out_dir => "/usr/src/perl/dbix-class/bast/DBIx-Class/0.08/trunk/doc,
     input_files => ['/usr/src/perl/dbix-class/bast/DBIx-Class/0.08/trunk/lib/'],
     skip_underscored => 1,
     class_map =>
     {
     "DBIx::Class::Relationship::HasMany" => "DBIx::Class::Relationship",
     "DBIx::Class::Relationship::HasOne" => "DBIx::Class::Relationship",
     "DBIx::Class::Relationship::BelongsTo" => "DBIx::Class::Relationship",
     "DBIx::Class::Relationship::ManyToMany" => "DBIx::Class::Relationship",
     "DBIx::Class::ResultSourceProxy" => "DBIx::Class::ResultSource",
     "DBIx::Class::ResultSourceProxy::Table" => "DBIx::Class::ResultSource",
     }
     };

     my $pi = Pod::Inherit->new( $config });
     $pi->write_pod;



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    pod sections listing | inherited methods | Perl module | Perl | pod | sections

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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