p4raw-id: //depot/perl@19963
print "not " if tainted($var);
print "ok 2\n";
-my $key = (grep $_ ne 'PERL_CORE', keys %ENV)[0];
+my $key = (keys %ENV)[0];
$var = $ENV{$key};
print "not " unless tainted($var);
-print "ok 3 - '$var'\n";
+print "ok 3\n";
print "not " unless tainted($ENV{$key});
-print "ok 4 - key '$key', val '$ENV{$key}'\n";
+print "ok 4\n";