really needs a pod2text() compatibility function)
p4raw-id: //depot/perl@3827
my $err;
if ($opt_t) {
- open(TMP,">>$tmp")
- or warn("Can't open $tmp: $!"), return;
- Pod::Text::pod2text($file,*TMP);
- close TMP;
+ Pod::Text->new()->parse_from_file($file,$tmp);
}
elsif (not $opt_u) {
my $cmd = "pod2man --lax $file | nroff -man";