projects
/
dh-make-perl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c802eb4a119cbadd6d5f9ee3691c9109d16af0ea
[dh-make-perl]
/
dev
/
i386
/
libtest-harness-perl
/
libtest-harness-perl-3.12
/
t
/
sample-tests
/
out_err_mix
1
sub _autoflush {
2
my $flushed = shift;
3
my $old_fh = select $flushed;
4
$| = 1;
5
select $old_fh;
6
}
7
8
_autoflush( \*STDOUT );
9
_autoflush( \*STDERR );
10
11
print STDOUT "one\n";
12
print STDERR "two\n\n";
13
print STDOUT "three\n";