This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e23c813
)
Revert #19957 as requested by Rafael.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 3 Jul 2003 18:55:37 +0000
(18:55 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 3 Jul 2003 18:55:37 +0000
(18:55 +0000)
p4raw-id: //depot/perl@19963
ext/List/Util/t/tainted.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/List/Util/t/tainted.t
b/ext/List/Util/t/tainted.t
index
05611a8
..
a330b1f
100644
(file)
--- a/
ext/List/Util/t/tainted.t
+++ b/
ext/List/Util/t/tainted.t
@@
-27,12
+27,12
@@
my $var = 2;
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";