3 use Test::More tests => 1;
5 tie *STDOUT, "Dev::Null" or die $!;
7 print "not ok 1\n"; # this should not print.
8 pass 'STDOUT can be mucked with';
13 sub TIEHANDLE { bless {} }
17 use Test::More tests => 1;
19 tie *STDOUT, "Dev::Null" or die $!;
21 print "not ok 1\n"; # this should not print.
22 pass 'STDOUT can be mucked with';
27 sub TIEHANDLE { bless {} }