https://bugzilla.redhat.com/show_bug.cgi?id=1739463

            Bug ID: 1739463
           Summary: perldoc -f '<>' complains about pod errors
           Product: Fedora
           Version: 30
            Status: NEW
         Component: perl
          Assignee: jples...@redhat.com
          Reporter: iamde...@gmail.com
        QA Contact: extras...@fedoraproject.org
                CC: caillon+fedoraproj...@gmail.com, iarn...@gmail.com,
                    jples...@redhat.com, ka...@ucw.cz,
                    mmasl...@redhat.com,
                    perl-devel@lists.fedoraproject.org, ppi...@redhat.com,
                    psab...@redhat.com, rhug...@redhat.com,
                    sandm...@redhat.com, tcall...@redhat.com
  Target Milestone: ---
    Classification: Fedora



Description of problem: the output of `perldoc -f '<>'` is garbled with pod
errors at the end [1]. Also, there's more text than probably should be [2].

Version-Release number of selected component (if applicable):
perl-interpreter-5.28.2-438.fc30.x86_64 (also see [2])

How reproducible: always


Steps to Reproduce:
1. perldoc -f '<>'
2. scroll to the end

Actual results: see below

[1]
POD ERRORS
    Hey! The above document had some coding errors, which are explained
    below:

    Around line 259:
        You forgot a '=back' before '=head2'

    Around line 482:
        =back without =over

[2]
Besides pod errors, there's some extra text beginning with "Constant Folding"
and ending with

    Here is a short, but incomplete summary:

      Math::String           treat string sequences like numbers
      Math::FixedPrecision   calculate with a fixed precision
      Math::Currency         for currency calculations
      Bit::Vector            manipulate bit vectors fast (uses C)
      Math::BigIntFast       Bit::Vector wrapper for big numbers
      Math::Pari             provides access to the Pari C library
      Math::Cephes           uses the external Cephes C library (no
                             big numbers)
      Math::Cephes::Fraction fractions via the Cephes library
      Math::GMP              another one using an external C library
      Math::GMPz             an alternative interface to libgmp's big ints
      Math::GMPq             an interface to libgmp's fraction numbers
      Math::GMPf             an interface to libgmp's floating point numbers

    Choose wisely.

after the actual contents of the requested perldoc section. Also there's no
section header at the beginning. The similar issue exists on Windows with
Strawberry Perl 5.30.0.1 (hence it's highly likely an upstream bug). On CentOS
7 with perl-5.16.3-292.el7.x86_64 `perldoc -f '<>'` displays what it should
without any errors.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org

Reply via email to