Difference between revisions of "Perl flushing STDOUT"
From Teknologisk videncenter
m (New page: Udskriv unbuffered til <STDOUT> <source lang=cli> my $old_fh = select(STDOUT); $| = 1; select($old_fh); </source>) |
(No difference)
|
Revision as of 09:58, 6 September 2009
Udskriv unbuffered til <STDOUT>
my $old_fh = select(STDOUT);
$| = 1;
select($old_fh);