From 4c0d88fa74047e2136ab0d51a21a0f536d0d1bcb Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 22 May 2006 16:51:36 +0000 Subject: [PATCH] Amend version.pm so it correctly loads the XS version of qv() p4raw-id: //depot/perl@28280 --- lib/version.pm | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/version.pm b/lib/version.pm index 460df33..dcf5804 100644 --- a/lib/version.pm +++ b/lib/version.pm @@ -6,23 +6,11 @@ use strict; use vars qw(@ISA $VERSION $CLASS *qv); -$VERSION = "0.60"; +$VERSION = "0.60_01"; $VERSION = eval($VERSION); $CLASS = 'version'; -eval "use version::vxs $VERSION"; -if ( $@ ) { # don't have the XS version installed - eval "use version::vpp $VERSION"; # don't tempt fate - die "$@" if ( $@ ); - push @ISA, "version::vpp"; - *version::qv = \&version::vpp::qv; -} -else { # use XS module - push @ISA, "version::vxs"; - *version::qv = \&version::vxs::qv; -} - # Preloaded methods go here. sub import { my ($class, @args) = @_; -- 2.7.4