5005threads didn't work because $Thread::VERSION wasn't
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 16 Nov 2001 18:37:30 +0000 (18:37 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 16 Nov 2001 18:37:30 +0000 (18:37 +0000)
visible.  Oops.

p4raw-id: //depot/perl@13054

ext/Thread/Makefile.PL
lib/Thread.pm

index fc09e7f..a636362 100644 (file)
@@ -1,7 +1,7 @@
 use ExtUtils::MakeMaker;
 WriteMakefile(
        NAME => 'Thread',
-       VERSION => '2.00',
-       MAN3PODS => {}
-       );
+       VERSION_FROM => '../../lib/Thread.pm',
+       MAN3PODS => {},
+);
 
index 4e88706..3aa6162 100644 (file)
@@ -1,13 +1,11 @@
 package Thread;
 
-$VERSION = '2.00';
-
 use strict;
 
-our $ithreads;
-our $othreads;
+our($VERSION, $ithreads, $othreads);
 
 BEGIN {
+    $VERSION = '2.00';
     use Config;
     $ithreads = $Config{useithreads};
     $othreads = $Config{use5005threads};
@@ -15,7 +13,7 @@ BEGIN {
 
 require Exporter;
 use XSLoader ();
-our($VERSION, @ISA, @EXPORT, @EXPORT_OK);
+our(@ISA, @EXPORT, @EXPORT_OK);
 
 @ISA = qw(Exporter);