Acme-Coro-Suke

 view release on metacpan or  search on metacpan

inc/Test/Builder.pm  view on Meta::CPAN

        open $fh, ">", $file_or_fh
          or $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;

    return;
}

my( $Testout, $Testerr );

sub _dup_stdhandles {
    my $self = shift;

    $self->_open_testhandles;



( run in 0.689 second using v1.01-cache-2.11-cpan-49f99fa48dc )