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: 28166
Status: resolved
Priority: 0/
Queue: Email-Simple

People
Owner: Nobody in particular
Requestors: rjbs [...] cpan.org
Cc:
AdminCc:

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



CC: bug-Email-Simple [...] rt.cpan.org
Subject: Re: t/perl-minver.t requires Test::MinimumVersion unconditionally
Date: Fri, 13 Jul 2007 17:17:55 -0400
To: Adriano Ferreira <a.r.ferreira [...] gmail.com>
From: Ricardo SIGNES <rjbs [...] cpan.org>
* Adriano Ferreira <a.r.ferreira@gmail.com> [2007-07-13T16:42:31] Show quoted text
> Your latest Email-Simple distribution > (http://search.cpan.org/src/RJBS/Email-Simple-2.000/) is failing due > to "t/perl-minver.t".
Thanks! I'm an idiot. Show quoted text
> 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.
Actually, I prefer to do this: eval { require Test::MinimumVersion; Test::MinimumVersion->VERSION(0.003); Test::MinimumVersion->import; }; I was just sloppy, when I first added this! It was the first thing ever to use Test::MinimumVersion. -- rjbs
fixed in july -- rjbs