+++ 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:
my $parser = Pod::Man->new (release => $VERSION, section => 8);
# Read POD from STDIN and write to STDOUT.
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);' /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 firstname.lastname@example.org 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.
perl-5.16.1-231.fc18 has been submitted as an update for Fedora 18.
perl-5.14.2-215.fc17 has been submitted as an update for Fedora 17.
perl-5.14.2-201.fc16 has been submitted as an update for Fedora 16.
Fixed in F19 as perl-5.16.1-235.fc19.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-5.16.1-231.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
perl-5.16.1-231.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.