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 /lib/Thread.pm | |
parent | 022394cfaaa8ec20e603e5da621b1778fd79e4ad (diff) | |
download | perl-4cf4ea458eb1811161558c203d03964bd34808ab.tar.gz |
5005threads didn't work because $Thread::VERSION wasn't
visible. Oops.
p4raw-id: //depot/perl@13054
Diffstat (limited to 'lib/Thread.pm')
-rw-r--r-- | lib/Thread.pm | 8 |
1 files changed, 3 insertions, 5 deletions
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); |