Subject: | Module-Build-0.2604 is failing t/runthrough.t test #19 due to VERSION issues |
Not being sure if this is a perl bug, or a Module-Build bug I
also sent email
To: module-build-general@lists.sourceforge.net
Cc: Perl Porters <perl5-porters@perl.org>
Module-Build-0.2604 is failing t/runthrough.t
test #19 when it tries to compare the VERSION number
(Is this a problem with blead-perl v5.9.2 or Module::Build?)
ok $contents, "/Module::Build version ". $build->VERSION ."/";
$contents contains a string that ends with
..."generated_by: Module::Build version 0.2604\n"
but for some reason $build->VERSION that is used in the match is
"0.260400", so the expected pattern
/Module::Build version 0.260400/
doesn't match.
What is interesting is that the $VERSION scalar for $build
is the shorter string
DB<5> x ref($build)
0 'Module::Build'
DB<6> x $Module::Build::VERSION
0 0.2604
$ ./Build test --test_files t/runthrough.t
t/runthrough....ok 13/28# Test 19 got: "--- #YAML:1.0\nname: Sample\nversion: 0.01\nauthor:\n - Sample Man
<sample@example.com>\nabstract: Foo foo sample foo\nlicense: perl\nrequires:\n File::Spec: 0\nprovides:\n Sample:\n
file: lib/Sample.pm\n version: 0.01\n Sample::NoPod:\n file: lib/Sample/NoPod.pm\ngenerated_by: Module::Build version
0.2604\n" (t/runthrough.t at line 84)
# Expected: "/Module::Build version 0.260400/"
$ perl -v
This is perl, v5.9.2 built for i686-linux
$ uname -a
Linux dd 2.4.28 #1 Wed Nov 17 08:37:45 PST 2004 i686