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

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

Thread Previous | Thread Next
Andy Dougherty
August 5, 2009 07:42
Re: Git perl-5.10.1-1713 + Test::Deep failures
Message ID:
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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About