in reply to perldoc POD documentation not working

Your code seems to work for me, but I am on Perl v5.12.2. Your version is very old. I recommend updating your Perl version to eliminate this as a variable. Here is what I get:
perldoc -t test.pl NAME SYNOPSIS This is a normal paragraph of text. A second line to test if the paragraph wraps with the previous one. /tmp/Rr4_NPU0ZN (END)

I think you can get rid of the =pod . See also: ENVIRONMENT. What about perldoc -T ?

UPDATE: As it happens, I also have v5.8.8 installed, and I get the same results as I do with 5.12. It works for me with both versions of Perl.

Replies are listed 'Best First'.
Re^2: perldoc POD documenation not working
by bulrush (Scribe) on Oct 06, 2014 at 13:35 UTC
    Oops, Nevermind. Found list of changes for all Perl versions here: http://perldoc.perl.org/index-history.html

    Another question is, can I spider just that page to one level deep to get all the sub pages on my PC? If not, where can I get that page plus one level deep to read offline?

    Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)
      The docs are already on your disc. Just use

      perldoc -ohtml

      to get the html version.

      Otherwise wget has depth and mirror options.

      And IIRC perldoc.org can be downloaded as zip.

      Cheers Rolf

      (addicted to the Perl Programming Language and ☆☆☆☆ :)

        I think there was a misunderstanding. I have perl 5.8.8 which has the history UP TO 5.8.8. I need to read changes from versions after 5.8.8 to 5.20.x to determine if anything will break. Last time we upgraded from Perl 5.004 to 5.8.8 the (s)printf function went from rounding, to not rounding, which caused us quite a lot of problems. Thank you.

        Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)
Re^2: perldoc POD documenation not working
by bulrush (Scribe) on Oct 06, 2014 at 13:33 UTC
    Thank you. Is there a way I can get a list of changes to Perl between 5.8.8 and 5.20 in one HTML page? Or that at least contains those changes referenced on one HTML page? I'd have to read them all before considering upgrading Perl on this mission critical machine.

    Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)
        Updated my original post: 'perldoc -T' does work.

        Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)
        'perldoc perldoc' just gives me the same blank page with a /tmp/ filename at the bottom of the page.
        Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)