https://bugzilla.redhat.com/show_bug.cgi?id=826872
Bug ID: 826872
QA Contact: extras-qa(a)fedoraproject.org
Severity: medium
Clone Of: 819042
Version: 16
Priority: unspecified
CC: cweyl(a)alumni.drew.edu, iarnell(a)gmail.com,
jplesnik(a)redhat.com, kasal(a)ucw.cz, lkundrak(a)v3.sk,
mmaslano(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rc040203(a)freenet.de,
tcallawa(a)redhat.com
Assignee: mmaslano(a)redhat.com
Summary: Trying to use the Pod::Man "parse_file" function in
Perl results in errors
Regression: ---
Story Points: ---
Classification: Fedora
OS: Linux
Reporter: ppisar(a)redhat.com
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(a)redhat.com 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.