diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-16 18:37:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-16 18:37:30 +0000 |
commit | 4cf4ea458eb1811161558c203d03964bd34808ab (patch) | |
tree | e8f462550c54f2a14f8c01483c8bee60d0efb274 | |
parent | 022394cfaaa8ec20e603e5da621b1778fd79e4ad (diff) | |
download | perl-4cf4ea458eb1811161558c203d03964bd34808ab.tar.gz |
5005threads didn't work because $Thread::VERSION wasn't
visible. Oops.
p4raw-id: //depot/perl@13054
-rw-r--r-- | ext/Thread/Makefile.PL | 6 | ||||
-rw-r--r-- | lib/Thread.pm | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/ext/Thread/Makefile.PL b/ext/Thread/Makefile.PL index fc09e7fa43..a6363620a0 100644 --- a/ext/Thread/Makefile.PL +++ b/ext/Thread/Makefile.PL @@ -1,7 +1,7 @@ use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Thread', - VERSION => '2.00', - MAN3PODS => {} - ); + VERSION_FROM => '../../lib/Thread.pm', + MAN3PODS => {}, +); diff --git a/lib/Thread.pm b/lib/Thread.pm index 4e88706ceb..3aa6162de0 100644 --- a/lib/Thread.pm +++ b/lib/Thread.pm @@ -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); |