summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Tie/File/t/26_twrite.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Tie/File/t/26_twrite.t b/lib/Tie/File/t/26_twrite.t
index e3d03a002c..1d9073c073 100644
--- a/lib/Tie/File/t/26_twrite.t
+++ b/lib/Tie/File/t/26_twrite.t
@@ -290,6 +290,7 @@ sub try {
undef $o; untie @lines;
open F, "< $file" or die "Couldn't open file $file: $!";
+ binmode F;
my $actual;
{ local $/;
$actual = <F>;