Skip to content

Commit 52a8d61

Browse files
committed
Fix for jwiegley#18 and added newline at end of reverse output
1 parent 75366bf commit 52a8d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-forest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ sub TIEHANDLE
618618
my $self = {};
619619

620620
open($self->{fh}, ">&STDOUT");
621-
binmode $self->{fh}, ":utf8";
622621

623622
return bless $self, $class;
624623
}
@@ -637,5 +636,6 @@ sub UNTIE
637636
my $fh = $self->{fh};
638637

639638
print $fh join($/, reverse split(/\n/s, $self->{saved}));
639+
print $fh "\n";
640640
undef $self->{saved};
641641
}

0 commit comments

Comments
 (0)