diff options
author | Yitzchak Scott-Thoennes <sthoenna@efn.org> | 2002-05-27 06:20:56 -0700 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-27 20:42:47 +0000 |
commit | 105cd85393438207822dd339c2f2de6688e85dea (patch) | |
tree | d35c908d2cf35271a14baa2e19eee7c66c677d0b /ext/Time/HiRes/HiRes.pm | |
parent | f62cb720259c484e37beef31bf5247e5e150815a (diff) | |
download | perl-105cd85393438207822dd339c2f2de6688e85dea.tar.gz |
Re: [PATCH] Version tango
Message-ID: <oUp88gzkgy+T092yn@efn.org>
p4raw-id: //depot/perl@16822
Diffstat (limited to 'ext/Time/HiRes/HiRes.pm')
-rw-r--r-- | ext/Time/HiRes/HiRes.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/Time/HiRes/HiRes.pm b/ext/Time/HiRes/HiRes.pm index 455775f781..6337532040 100644 --- a/ext/Time/HiRes/HiRes.pm +++ b/ext/Time/HiRes/HiRes.pm @@ -1,7 +1,7 @@ package Time::HiRes; use strict; -use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD); +use vars qw($VERSION $XS_VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD); require Exporter; use XSLoader; @@ -13,6 +13,8 @@ use XSLoader; getitimer setitimer ITIMER_REAL ITIMER_VIRTUAL ITIMER_PROF); $VERSION = '1.20_00'; +$XS_VERSION = $VERSION; +$VERSION = eval $VERSION; sub AUTOLOAD { my $constname; @@ -29,7 +31,7 @@ sub AUTOLOAD { goto &$AUTOLOAD; } -XSLoader::load 'Time::HiRes', $VERSION; +XSLoader::load 'Time::HiRes', $XS_VERSION; # Preloaded methods go here. |