Scott Guthridge via cpan-testers-discuss wrote on 6/23/17 12:54 AM:
Test script (mytest.t):
use Test::More;
[ test for NonExistentModule and exit cleanly before the use directive below
is executed -- I see that a simple unconditional exit 0 at this point runs
*after* the use
> On Jun 23, 2017, at 1:54 AM, Scott Guthridge via cpan-testers-discuss
> > wrote:
>
> it's not installed by default in my distro, which suggests it probably not
> available in many of the tester's environments either,
Etheridge <p...@froods.org>
To: Scott Guthridge <pdx_scoo...@yahoo.com>
Cc: Slaven Rezic <sla...@rezic.de>; Scott Guthridge via cpan-testers-discuss
<cpan-testers-discuss@perl.org>
Sent: Thursday, June 22, 2017 11:20 AM
Subject: Re: tests failing due to dependency on Regexp::
gt; executing the module check code at the top.
>
> I tried to force the execution order by putting the module tests inside a
> BEGIN block. That also didn't work.
>
> Scott
>
> --
> *From:* Slaven Rezic <sla...@rezic.de>
> *To:* Scot
via cpan-testers-discuss <cpan-testers-discuss@perl.org>;
Scott Guthridge <pdx_scoo...@yahoo.com>
Sent: Wednesday, June 14, 2017 10:37 AM
Subject: Re: tests failing due to dependency on Regexp::Common
Something like this could work:
use Test::More;
plan skip_all => &quo
Or even migrate the distribution to Dist::Zilla. I did it for all my
distributions and I'm very happy with the results. :-)
Em 14/06/2017 01:11, Ron Savage escreveu:
Hi Scott
Your Makefile.PL is pathologically terse :-) since it does not list
pre-reqs. Try something more like:
In Graphics::Fig v1.0.1, several runs are failing due to a missing dependency
on the Regexp::Common module:
# Tried to use 'Graphics::Fig'.
# Error: Can't locate Regexp/Common.pm in @INC (you may need to install
the Regexp::Common module) (@INC contains: