summaryrefslogtreecommitdiff
path: root/cpan/Tie-RefHash/t/threaded.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Tie-RefHash/t/threaded.t')
-rw-r--r--cpan/Tie-RefHash/t/threaded.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/Tie-RefHash/t/threaded.t b/cpan/Tie-RefHash/t/threaded.t
index 7e4fa1a7f0..8767f97980 100644
--- a/cpan/Tie-RefHash/t/threaded.t
+++ b/cpan/Tie-RefHash/t/threaded.t
@@ -21,7 +21,7 @@ BEGIN {
}
if ( $Config{usethreads} and !$Config{use5005threads}
and defined(&Scalar::Util::weaken)
- and eval { require threads; "threads"->import }
+ and eval { require threads; threads->import; 1 }
) {
print "1..14\n";
} else {