my $rc = `$^X -c $_ 2>&1`; chomp $rc; unless ($rc eq "$_ syntax OK") { print "$rc"; $errors++; } #### my $rc = `$^X -c $_`; if ($?) { print "$rc"; $errors++; }