Skip to content

Commit

Permalink
Return the filehandle for saving the intermediate output
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Dec 18, 2011
1 parent 208b5e1 commit f7ba5e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Pod/Perldoc/ToMan.pm
Expand Up @@ -176,6 +176,7 @@ sub _save_pod_man_output {
my $file = "podman.out.$$.txt";
$self->debug( "Writing $file with Pod::Man output\n" );
open my $fh2, '>', $file;
$fh2;
} unless $fh;

print { $fh } ${ $self->{_text_ref} };
Expand Down

0 comments on commit f7ba5e4

Please sign in to comment.