BEGIN {
maybe_plan(
5,
+ 'DBI',
'SQL::Translator::Parser::SQLite',
'SQL::Translator::Producer::Dumper'
);
my $perl = $Config{'perlpath'};
open( NULL, ">", File::Spec->devnull );
-my $pid = open3( gensym, ">&NULL", \*PH, "$perl -cw $filename" );
+my $pid = open3( gensym, \*NULL, \*PH, "$perl -cw $filename" );
my $res;
while( <PH> ) { $res .= $_; }
waitpid($pid, 0);