Mini Shell

Direktori : /usr/share/doc/perl-Test-Simple/t/Legacy/
Upload File :
Current File : //usr/share/doc/perl-Test-Simple/t/Legacy/filehandles.t

#!perl -w

BEGIN {
    if( $ENV{PERL_CORE} ) {
        chdir 't';
        @INC = ('../lib', 'lib');
    }
}

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

tie *STDOUT, "Dev::Null" or die $!;

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


Zerion Mini Shell 1.0