projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Audit all local() calls within lib/ and t/lib
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest.pm
diff --git
a/t/lib/DBICTest.pm
b/t/lib/DBICTest.pm
index
2e265b5
..
b43d4bf
100644
(file)
--- a/
t/lib/DBICTest.pm
+++ b/
t/lib/DBICTest.pm
@@
-20,8
+20,8
@@
BEGIN {
# prove) but I do not know it offhand, especially on older environments
# Go with the safer option
if ($INC{'Test/Builder.pm'}) {
- local $| = 1;
- print "#\n";
+ select( ( select(\*STDOUT), $|=1 )[0] );
+ print STDOUT "#\n";
}
}