This saves the Win32 committer(s?) having to dos2unix the files
before committing. Maybe Perforce's "LineEnd: share" suffices
anyway, but there's no harm in playing safe.
p4raw-id: //depot/perl@23371
else {
safer_unlink $filename;
open F, ">$filename" or die "Can't open $filename: $!";
+ binmode F;
$F = \*F;
}
print $F $leader if $leader;
safer_unlink "pod/perlapi.pod";
open (DOC, ">pod/perlapi.pod") or
die "Can't create pod/perlapi.pod: $!\n";
+binmode DOC;
walk_table { # load documented functions into approriate hash
if (@_ > 1) {
safer_unlink "pod/perlintern.pod";
open(GUTS, ">pod/perlintern.pod") or
die "Unable to create pod/perlintern.pod: $!\n";
+binmode GUTS;
print GUTS <<'END';
=head1 NAME