The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl -w

BEGIN {
    if( env::var('PERL_CORE') ) {
        chdir 't';
        $^INCLUDE_PATH = @('../lib', 'lib');
    }
}

use lib 't/lib';
use Test::More tests => 1;
use Dev::Null;

my $str = "";
open my $dummy_fh, '>>', \$str or die;
$^STDOUT = *$dummy_fh{IO};

print $^STDOUT, "not ok 1\n";     # this should not print.
pass 'STDOUT can be mucked with';