Skip to content

Commit

Permalink
Pull in IO::Handle for old perls to set autoflush
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Jun 17, 2023
1 parent 847c012 commit c4d89d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/bc
Expand Up @@ -26,6 +26,7 @@ my $cur_file = '-';
my $bignum = 0;

BEGIN {
use IO::Handle;
STDOUT->autoflush(1);
STDERR->autoflush(1);
}
Expand Down

0 comments on commit c4d89d1

Please sign in to comment.