Acme-DateTime-Duration-Numeric
view release on metacpan or search on metacpan
inc/Test/Builder.pm view on Meta::CPAN
$self->croak("Can't open test output log $file_or_fh: $!");
_autoflush($fh);
}
return $fh;
}
sub _autoflush {
my($fh) = shift;
my $old_fh = select $fh;
$| = 1;
select $old_fh;
}
sub _dup_stdhandles {
my $self = shift;
$self->_open_testhandles;
# Set everything to unbuffered else plain prints to STDOUT will
# come out in the wrong order from our own prints.
( run in 0.808 second using v1.01-cache-2.11-cpan-49f99fa48dc )