in reply to Re^3: perldoc POD documenation not working
in thread perldoc POD documentation not working

'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)
  • Comment on Re^4: perldoc POD documenation not working

Replies are listed 'Best First'.
Re^5: perldoc POD documenation not working
by LanX (Saint) on Oct 06, 2014 at 14:04 UTC
    'man perldoc' must do.

    Your environment seems broken.

    Try to fix the pager, does less work?

    IIRC does perldoc also allow to set its private pager.

    Cheers Rolf

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

    update

    > perldoc will use, in order of preference, the pager defined in PERLDOC_PAGER , MANPAGER , or PAGERbefore trying to find a pager on its own. (MANPAGERis not used if perldoc was told to display plain text or unformatted pod.)

      Got it. Doing in my .cshrc 'setenv PAGER /bin/more' didn't work. But doing in my .cshrc 'setenv PERLDOC_PAGER /bin/more' did work. Thanks!
      Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)
      1. doing 'set PERLDOC_PAGER=more' at the csh command prompt gives me the same blank screen.
      2. doing 'set PERLDOC_PAGER=less' also gives me the same blank screen.
      Perl 5.8.8 on Redhat Linux RHEL 5.5.56 (64-bit)