Change 13054 by jhi@alpha on 2001/11/16 18:37:30
5005threads didn't work because $Thread::VERSION wasn't
visible. Oops.
Affected files ...
.... //depot/perl/ext/Thread/Makefile.PL#8 edit
.... //depot/perl/lib/Thread.pm#5 edit
Differences ...
==== //depot/perl/ext/Thread/Makefile.PL#8 (text) ====
Index: perl/ext/Thread/Makefile.PL
--- perl/ext/Thread/Makefile.PL.~1~ Fri Nov 16 11:45:06 2001
+++ perl/ext/Thread/Makefile.PL Fri Nov 16 11:45:06 2001
@@ -1,7 +1,7 @@
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Thread',
- VERSION => '2.00',
- MAN3PODS => {}
- );
+ VERSION_FROM => '../../lib/Thread.pm',
+ MAN3PODS => {},
+);
==== //depot/perl/lib/Thread.pm#5 (text) ====
Index: perl/lib/Thread.pm
--- perl/lib/Thread.pm.~1~ Fri Nov 16 11:45:06 2001
+++ perl/lib/Thread.pm Fri Nov 16 11:45:06 2001
@@ -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 @@
require Exporter;
use XSLoader ();
-our($VERSION, @ISA, @EXPORT, @EXPORT_OK);
+our(@ISA, @EXPORT, @EXPORT_OK);
@ISA = qw(Exporter);
End of Patch.