Change installman to instantiate a new Pod::Man instance for each
Steve Peters [Thu, 5 Jan 2006 14:33:16 +0000 (14:33 +0000)]
file processed.  This is now required with podlators-2.0.

p4raw-id: //depot/perl@26656

installman

index c736a9e..689b41b 100755 (executable)
@@ -187,6 +187,10 @@ sub pod2man {
     foreach my $page (@to_process) {
        my($pod, $tmp, $manpage) = @$page;
 
+        my $parser = Pod::Man->new( section => $manext,
+                                    official=> 1,
+                                    center  => 'Perl Programmers Reference Guide'
+                                  );
        my $xmanpage = $manpage;
        $xmanpage =~ s/^\Q$opts{'destdir'}\E// if $opts{'destdir'};
         print "  $xmanpage\n";