develooper Front page | perl.perl5.porters | Postings from August 2009

Re: Git perl-5.10.1-1713 + Test::Deep failures

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
August 5, 2009 07:42
Subject:
Re: Git perl-5.10.1-1713 + Test::Deep failures
Message ID:
alpine.DEB.2.00.0908051035450.6939@fractal.phys.lafayette.edu
On Wed, 5 Aug 2009, David Favor wrote:

> I posted an update to perl-porters yesterday.
> 
> Looks like the only outstanding failing module now is Test::Deep.
> 
> I suspect the failure of this module lies with perl as I tried
> building the last year's worth of Test::Deep modules and all
> failed in a similar place.

This is a bug in Test::Deep.  The code that fails contains various conditionals
that look like this:

    elsif($] <= 5.010 ? ($base eq 'Regexp') : ($base eq 'REGEXP'))

Since maint-5.10.x now identifies itself as 5.010001, the conditional fails.
I suspect the author really meant $] < 5.011.  Changing it thusly makes all tests pass.

-- 
    Andy Dougherty		doughera@lafayette.edu

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About