Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>

WEEK'S BEST

  • BackTrack 5 R1
  • Wine 1.2.3 / 1.4 RC3
  • Mozilla Firefox 10...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.3 LTS
  • Linux Kernel 3.2.6
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.1
  • Home > Linux > Programming > Perl Modules

    Perl6::Perldoc 0.0.5

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Damian Conway | More programs
    Perl Artistic License / FREE
    December 31st, 2008, 17:29 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Perl6::Perldoc description

    Use Perl 6 documentation in a Perl 5 program

    Perl6::Perldoc is a Perl module that allows you to use Perl 6 documentation in a Perl 5 program.

    SYNOPSIS

     use Perl6::Perldoc;

     =comment
     Now you can use Perl 6 style documentation

     =for DATA
     Including Perl 6 style DATA sections

     print < DATA >;

     =for DATA
     Of which there can be more than one

    This module preprocesses your code from the point at which the module is first used, stripping out any Perl 6 documentation (as specified in Synopsis 26).

    This means that, so long as your program starts with:

     use Perl6::Perldoc;

    you can document it using the new Pod mark-up notation and it will still run correctly under the Perl 5 interpreter.

    In addition, the module detects any =DATA sections in the stripped documentation and makes them available to your program in three ways:

     * As a single concatentated string, in the $DATA package variable
     * As a sequence of strings (one per =DATA block) in the @DATA package variable
     * As a single concatenated input stream in the *DATA filehandle.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Perl 6 documentation | Perl module | Perl | documentation | class



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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