Avoid redefinedness warning for now.
Jarkko Hietaniemi [Fri, 16 Nov 2001 04:48:16 +0000 (04:48 +0000)]
p4raw-id: //depot/perl@13040

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));