This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid redefinedness warning for now.
[perl5.git] / lib / Thread.pm
index d3e27e1..c648954 100644 (file)
@@ -316,7 +316,8 @@ BEGIN {
            no strict 'refs';
            *{"Thread::$m"} = \&{"threads::shared::${m}_enabled"};
        }
-       unimplement(qw(list done eval flags));
+       # trying to unimplement eval gives redefined warning
+       unimplement(qw(list done flags));
     } elsif ($othreads) {
        XSLoader::load 'Thread';
        unimplement(qw(unlock));