summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/Command
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-12-23 00:06:58 +0000
committerSteve Peters <steve@fisharerojo.org>2005-12-23 00:06:58 +0000
commit66112e6bb03fbfd6d0ed24ae598b9937e2e4884c (patch)
tree595e3c32a1e7b0ca5447030e6f0de7e3a5199226 /lib/ExtUtils/Command
parent4fc877accbeee7820b3c87ff559c82a99f60fe83 (diff)
downloadperl-66112e6bb03fbfd6d0ed24ae598b9937e2e4884c.tar.gz
Fix for pod2man() in ExtUtils::Command::MM to work with
the Pod::Man 2.04. p4raw-id: //depot/perl@26457
Diffstat (limited to 'lib/ExtUtils/Command')
-rw-r--r--lib/ExtUtils/Command/MM.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ExtUtils/Command/MM.pm b/lib/ExtUtils/Command/MM.pm
index 046fb8b5ae..774e1b21e9 100644
--- a/lib/ExtUtils/Command/MM.pm
+++ b/lib/ExtUtils/Command/MM.pm
@@ -9,7 +9,7 @@ use vars qw($VERSION @ISA @EXPORT);
@EXPORT = qw(test_harness pod2man perllocal_install uninstall
warn_if_old_packlist);
-$VERSION = '0.05';
+$VERSION = '0.05_01';
my $Is_VMS = $^O eq 'VMS';
@@ -117,8 +117,6 @@ sub pod2man {
# compatibility.
delete $options{lax};
- my $parser = Pod::Man->new(%options);
-
do {{ # so 'next' works
my ($pod, $man) = splice(@ARGV, 0, 2);
@@ -128,6 +126,7 @@ sub pod2man {
print "Manifying $man\n";
+ my $parser = Pod::Man->new(%options);
$parser->parse_from_file($pod, $man)
or do { warn("Could not install $man\n"); next };