http://www.perlmonks.org?node_id=815177

paragkalra has asked for the wisdom of the Perl Monks concerning the following question:

Hello All,

Lately I have realized that almost all the documentation of Perl functions is available locally.

perldoc perlfunc

That was the one thing for which I used to use Internet frequently.

I am absolute curious to know other similar man pages containing Perl documentation.

Replies are listed 'Best First'.
Re: Man Pages of Perl
by marto (Cardinal) on Jan 01, 2010 at 12:49 UTC

    See perldoc perldoc. Also you've posted this question in the wrong section of the forum, read Where should I post X?, as mentioned when creating nodes.

    Update: slight rewording of last sentence.

    Martin

Re: Man Pages of Perl
by biohisham (Priest) on Jan 01, 2010 at 13:48 UTC
    Interesting question and congrats for having made this discovery, some books do not even mention anything about this... In addition to the links provided to you and the previous discussions presented here, I can enumerate the interesting:
    1. perlintro
    2. perlcheat
    3. perldsc
    4. perlboot

    The best thing about documentations in Perl is that someone took it upon themselves to write them, others took it upon themselves to simplify them, while others took it upon themselves to make specialized examples and this is all done for our own good and we'd have to take it upon ourselves to read them -habitually- or be content when told to RTFM in some cases in order to have a full round circle of participation...

    An assortment of these documents is found at perldoc.perl.org in a well classified organization and a neatly served presentation, check the Reference box to the left.


    Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.
Re: Man Pages of Perl
by toolic (Bishop) on Jan 01, 2010 at 13:32 UTC
Re: Man Pages of Perl
by CountZero (Bishop) on Jan 01, 2010 at 14:18 UTC
    And if you are working with ActiveState Perl, you will have the documentation rendered as HTML as well in the HTML-folder of your Perl installation. On my system this is: file:///C:/Data/Perl/html/index.html

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re: Man Pages of Perl
by shawnhcorey (Friar) on Jan 01, 2010 at 14:38 UTC

    Just wanted to add that `perldoc perl` give a listing of the perldocs available. Also, `perldoc perlmodlib` gives a listing of the standard pragmatics and modules which should be installed with perl. If you are creating code to be shared, you can use them without worrying if they're installed; they are.

    On many systems, the perldocs are installed as man pages. That means, `perldoc perl` and `man perl` give the same response. But you can't use man for Perl keywords; you have to use perldoc. For example, `perldoc -f open`. There is no equivalent for man.

Re: Man Pages of Perl
by AnomalousMonk (Archbishop) on Jan 01, 2010 at 21:42 UTC

    Also take a look at  perldoc perltoc (table of contents).

Re: Man Pages of Perl
by Khen1950fx (Canon) on Jan 01, 2010 at 18:44 UTC
    In addition to perldoc, there's perldocs. Its a drop-in replacement for perldoc. You can use it when you want the pod for a module that isn't locally installed, and it basically works the same as perldoc.
Re: Man Pages of Perl
by amir_e_a (Hermit) on Jan 01, 2010 at 14:20 UTC

    Yes, this is true, but only for systems on which Perl is properly installed. It is probably installed correctly on modern Mac OS, *BSD and Linux-based systems, but on other Unixes, VMS and Windows it is sometimes installed badly. There still are sysadmins who only put perl.exe somewhere on the machine and think that it's enough. Then, of course, you don't get the documentation and you don't get the essential standard library modules such as File::Basename and Data::Dumper.

    On systems that do have Perl properly installed you have all the perl* man pages and other monks already explained how to see their list.

    I can add that in addition to to the perl* man pages such as perlfunc, perlop, perlre etc., you can also use perldoc to read documentation for any library modules that you have, from the standard library and from CPAN. Try:

    perldoc Data::Dumper perldoc English