Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Simple CPAN distribution.

Report information
The Basics
Id: 28165
Status: resolved
Priority: 0/
Queue: Email-Simple

People
Owner: Nobody in particular
Requestors: a.r.ferreira [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/perl-minver.t requires Test::MinimumVersion unconditionally
Date: Fri, 13 Jul 2007 17:42:31 -0300
To: "Ricardo SIGNES" <rjbs [...] cpan.org>, bug-Email-Simple [...] rt.cpan.org
From: "Adriano Ferreira" <a.r.ferreira [...] gmail.com>
Hi, Ricardo. Your latest Email-Simple distribution (http://search.cpan.org/src/RJBS/Email-Simple-2.000/) is failing due to "t/perl-minver.t". Its code is: #!perl use strict; use Test::More; eval { use Test::MinimumVersion 0.003 }; # <<<<<<<<<<<<< the culprit plan skip_all => "this test requires Test::MinimumVersion" if $@; all_minimum_version_ok(5.00503); When you used "eval BLOCK" rather than "eval STRING", the use statement executes in a BEGIN at compile time rather than waiting for failing at runtime when you could check $@. So the solution is just falling back to the awful "eval STRING" in this case. Cheers, Adriano Ferreira
fixed in july -- rjbs