From 47fbee3ff04cc4cf9d0a40322c249b9826831106 Mon Sep 17 00:00:00 2001 From: Christian Walde Date: Sat, 23 Apr 2016 18:28:40 +0200 Subject: [PATCH] keep readme generation from mangling newlines on windows --- Makefile.PL | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index ace8a784..c18f66d6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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;