[Bug 826872] New: Trying to use the Pod::Man "parse_file" function in Perl results in errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

            Bug ID: 826872
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
          Severity: medium
          Clone Of: 819042
           Version: 16
          Priority: unspecified
                CC: cweyl@xxxxxxxxxxxxxxx, iarnell@xxxxxxxxx,
                    jplesnik@xxxxxxxxxx, kasal@xxxxxx, lkundrak@xxxxx,
                    mmaslano@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx,
                    psabata@xxxxxxxxxx, rc040203@xxxxxxxxxx,
                    tcallawa@xxxxxxxxxx
          Assignee: mmaslano@xxxxxxxxxx
           Summary: Trying to use the Pod::Man "parse_file" function in
                    Perl results in errors
        Regression: ---
      Story Points: ---
    Classification: Fedora
                OS: Linux
          Reporter: ppisar@xxxxxxxxxx
              Type: Bug
     Documentation: ---
          Hardware: All
        Mount Type: ---
            Status: ASSIGNED
         Component: perl
           Product: Fedora

+++ This bug was initially created as a clone of Bug #819042 +++

If I try to use the Pod::Man "parse_file" function, I get failures.  Even the
simplest invocation, directly from the man page, gives uninitialized value and
strict refs errors.

[...]

The documentation (man Pod::Man) says:

    SYNOPSIS
           use Pod::Man;
           my $parser = Pod::Man->new (release => $VERSION, section => 8);

           # Read POD from STDIN and write to STDOUT.
           $parser->parse_file (\*STDIN);
    ...
       The standard Pod::Simple method parse_file() takes one argument naming
       the POD file to read from.  By default, the output is sent to "STDOUT",
       but this can be changed with the output_fd() method.

[...]

$ perl -we 'use strict; use Pod::Man; my $p = Pod::Man->new();
$p->parse_file($ARGV[0]);' /usr/share/perl5/Pod/Man.pm
Use of uninitialized value in ref-to-glob cast at /usr/share/perl5/Pod/Man.pm
line 722.
Can't use string ("") as a symbol ref while "strict refs" in use at
/usr/share/perl5/Pod/Man.pm line 722.

[...]
--- Additional comment from ppisar@xxxxxxxxxx on 2012-05-31 07:40:08 GMT ---

Pod::Man developer decided do the fix in podlators-2.4.1
(http://cpansearch.perl.org/src/RRA/podlators-2.4.1/ChangeLog).
-----

perl-5.14.2-197.fc16.x86_64 in Fedora 16 affected. We should patch the perl or
provide podlators-2.4.1 as dual-lived package.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux