This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't write Windows EOLs in CoreList.(pm|pod) when updating them on Windows
authorSteve Hay <steve.m.hay@googlemail.com>
Thu, 9 Aug 2012 12:54:24 +0000 (13:54 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Thu, 9 Aug 2012 12:54:24 +0000 (13:54 +0100)
Porting/corelist.pl

index de51cde..b5e2645 100755 (executable)
@@ -290,6 +290,7 @@ sub write_corelist {
     my $content = shift;
     my $filename = shift;
     open (my $clfh, ">", $filename);
+    binmode $clfh;
     print $clfh $content;
     close($clfh);
 }