in reply to Re: What is perldoc -lf doing?
in thread What is perldoc -lf doing?

What am I missing with my install?

$ perldoc -f == No documentation for perl function '==' found $ sudo apt-get install perl-doc [sudo] password for bob: Reading package lists... Done Building dependency tree Reading state information... Done perl-doc is already the newest version (5.26.1-6ubuntu0.2). 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. $

Replies are listed 'Best First'.
Re^3: What is perldoc -lf doing?
by choroba (Cardinal) on Aug 06, 2018 at 09:24 UTC
    It's probably MSWin specific. It doesn't work for me either, not even in blead:
    $ perldoc -f == No documentation for perl function '==' found

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      Nope, it's missing on both platforms.

      X:\>perldoc -f == No documentation for perl function '==' found X:\>perl -v This is perl 5, version 24, subversion 1 (v5.24.1)

      My first working test was with Win/5.16 (later Linux/5.18).

      Most probably a regression between 5.18 and 5.24, perlop is still showing the entry.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Re^3: What is perldoc -lf doing? (updated)
by LanX (Saint) on Aug 06, 2018 at 04:48 UTC
    Probably a glitch on console level.(?)

    I used Windows and you Linux and bash tries to use == for its own syntax.(untested)

    ( You know Perl was built for UNIX ... Ehm wait... ;)

    update

    Nope: works with Ubuntu and Perl 5.18, so probably a bug with newer Perl versions.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      Perldoc has been broken for at least 4 years and no one noticed? How does that get past the testers? perldoc -f == works on 5.18 but not 5.20 or higher on osx.

        Hi,

        Its been at least since Pod::Perldoc version 3.15_02 of perl v5.12.0 from 2010-Apr-12

        The Pod::Perldoc test suite has no tests

        As of now nobody has reported this bug rt://Pod-Perldoc

          A reply falls below the community's threshold of quality. You may see it by logging in.