From: Vincent Pit Date: Sun, 29 Jun 2008 16:15:15 +0000 (+0200) Subject: Importing Scalar-Vec-Util-0.05.tar.gz X-Git-Tag: v0.05^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=858989a385e838e44a21a7b5b4d46ed933f8cbb2;p=perl%2Fmodules%2FScalar-Vec-Util.git Importing Scalar-Vec-Util-0.05.tar.gz --- diff --git a/Changes b/Changes index 86b2bc4..dcd2e95 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Scalar-Vec-Util +0.05 2008-06-03 11:40 UTC + + Fix : make cover choked on t/02-pp.t. + 0.04 2008-06-02 20:40 UTC + Doc : More benchmarks. + Fix : t/02-pp.t failed when the tested version was already installed. diff --git a/META.yml b/META.yml index 7e6ccba..57abb8f 100644 --- a/META.yml +++ b/META.yml @@ -1,11 +1,11 @@ --- #YAML:1.0 name: Scalar-Vec-Util -version: 0.04 +version: 0.05 abstract: Utility routines for vec strings. license: perl author: - Vincent Pit -generated_by: ExtUtils::MakeMaker version 6.42 +generated_by: ExtUtils::MakeMaker version 6.44 distribution_type: module requires: Carp: 0 diff --git a/README b/README index aecc0ad..f466c4d 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Scalar::Vec::Util - Utility routines for vec strings. VERSION - Version 0.04 + Version 0.05 SYNOPSIS use Scalar::Vec::Util qw/vfill vcopy veq/; diff --git a/lib/Scalar/Vec/Util.pm b/lib/Scalar/Vec/Util.pm index 4f69d8f..75b903d 100644 --- a/lib/Scalar/Vec/Util.pm +++ b/lib/Scalar/Vec/Util.pm @@ -11,13 +11,13 @@ Scalar::Vec::Util - Utility routines for vec strings. =head1 VERSION -Version 0.04 +Version 0.05 =cut our $VERSION; BEGIN { - $VERSION = '0.04'; + $VERSION = '0.05'; eval { require XSLoader; XSLoader::load(__PACKAGE__, $VERSION); diff --git a/t/02-pp.t b/t/02-pp.t index c4df852..a4d5f0f 100644 --- a/t/02-pp.t +++ b/t/02-pp.t @@ -11,9 +11,12 @@ BEGIN { my $re = join '|', grep defined && length, @Config{qw/myarchname archname/}, 'arch'; - @INC = grep !/(?:$re)$/, @INC + my @inc = @INC; + @INC = grep !/(?:$re)$/, @INC; + require Scalar::Vec::Util; + Scalar::Vec::Util->import(qw/vfill vcopy veq SVU_PP/); + @INC = @inc; } -use Scalar::Vec::Util qw/vfill vcopy veq SVU_PP/; is(SVU_PP, 1, 'using pure perl subroutines'); for (qw/vfill vcopy veq/) {