Skip to content

Commit

Permalink
keep readme generation from mangling newlines on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wchristian committed Apr 23, 2016
1 parent bdb491a commit 47fbee3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ eval {

my $parser = Pod::Markdown->new;
open my $in, "<", $pod;
binmode $in;
open my $out, ">", "README.md";
binmode $out;
if ($parser and $in and $out) {
$parser->parse_from_filehandle($in);
print $out $parser->as_markdown;
Expand Down

0 comments on commit 47fbee3

Please sign in to comment.