projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Make lc/uc/lcfirst/ucfirst warn when passed undef.
[p5sagit/p5-mst-13.2.git]
/
t
/
lib
/
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";