Hmm, maybe Strawberry Perl behaves differently? I don’t have a Windows machine to try it on, but, on both Mac and Linux it dies and VERBOSE makes no difference in the output.
You could try running it with VERBOSE=1 on windows with Test::Without::Module 0.18 to see if there is a difference compared to 0.19-0.20.
Regards,
Dimitrios
Show quoted text> On 20 Jul 2017, at 19:16, Max Maischein via RT <bug-Test-Without-Module@rt.cpan.org> wrote:
>
> <URL:
https://rt.cpan.org/Ticket/Display.html?id=122551 >
>
> Hello Dimitrios,
>> Thanks for the prompt response. I can’t find Module::Load::Conditional: 0.62 on CPAN, but installing the current (0.68) version on a MacOS Sierra machine (to try a completely different OS stack), along with Test::Without::Module: 0.20 and this is the result of your test:
>>
>> 1..1
>> Can't locate Test/More.pm in @INC (you may need to install the Test::More module) (@INC contains: CODE(0x7f919520a960) /usr/local/lib/perl5/site_perl [...] .) at /Users/dimitrios/perl5/perlbrew/perls/perl-5.20.3/lib/site_perl/5.20.3/Module/Load/Conditional.pm line 215.
>> # Looks like your test exited with 255 before it could output anything.
>
> That's really weird, because I still get the same result, after
> upgrading Module::Load::Conditional (see below). Maybe there is
> something else in your setup (or mine) that makes this behaviour
> special. Maybe set
>
> $Module::Load::Conditional::VERBOSE=1;
>
> With that set, I see the error messages but still don't get a crash
> afterwards, see the second test run below.
>
> -max
>
>
> c:\Users\Corion\Projekte\Test-Without-Module>perl -Ilib -w t\rt122551.t
> 1..1
> ok 1 - We don't load Test::More
> # Test::Without::Module: 0.20
> # Module::Load::Conditional: 0.68
>
> c:\Users\Corion\Projekte\Test-Without-Module>perl -v
>
> This is perl 5, version 20, subversion 1 (v5.20.1) built for
> MSWin32-x64-multi-thread
>
> Copyright 1987-2014, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic License
> or the
> GNU General Public License, which may be found in the Perl 5 source kit.
>
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl". If you have access to the
> Internet, point your browser at
http://www.perl.org/, the Perl Home Page.
>
>
> c:\Users\Corion\Projekte\Test-Without-Module>
>
> ---
>
> c:\Users\Corion\Projekte\Test-Without-Module>perl -Ilib -w t\rt122551.t
> 1..1
> Cannot open file 'Test\More.pm': at
> C:/strawberry-perl-5.20.1.1-x64/perl/site/l
> ib/Module/Load/Conditional.pm line 228.
> Can't locate Test/More.pm in @INC (you may need to install the
> Test::More module
> ) (@INC contains: CODE(0x2c05ae0) lib
> C:/strawberry-perl-5.20.1.1-x64/perl/site/
> lib/MSWin32-x64-multi-thread
> C:/strawberry-perl-5.20.1.1-x64/perl/site/lib C:/st
> rawberry-perl-5.20.1.1-x64/perl/vendor/lib
> C:/strawberry-perl-5.20.1.1-x64/perl/
> lib .) at C:/strawberry-perl-5.20.1.1-x64/perl/lib/Module/Load.pm line 77.
> Can't locate Test/More in @INC (@INC contains: CODE(0x2c05ae0) lib
> C:/strawberry
> -perl-5.20.1.1-x64/perl/site/lib/MSWin32-x64-multi-thread
> C:/strawberry-perl-5.2
> 0.1.1-x64/perl/site/lib C:/strawberry-perl-5.20.1.1-x64/perl/vendor/lib
> C:/straw
> berry-perl-5.20.1.1-x64/perl/lib .) at
> C:/strawberry-perl-5.20.1.1-x64/perl/lib/
> Module/Load.pm line 77.
> [THIS MAY BE A PROBLEM!] at t\rt122551.t line 10.
> ok 1 - We don't load Test::More
> # Test::Without::Module: 0.20
> # Module::Load::Conditional: 0.68
>
Flatshare is a limited company registered in England and Wales. Registration #04407847, Registered office: 32 Park Green, Macclesfield, Cheshire, SK11 7NA. T: 01625 666 750
This electronic mail may contain confidential or legally privileged information. It is for the intended recipient(s) only. Should you receive this message in error, please notify the sender immediately by replying to this email. If you are not the intended recipient, any disclosure, distribution, reproduction, printing or reliance on the contents of this information is strictly prohibited. Whilst all care has been taken, Flatshare Ltd is not responsible for the integrity or content of any attachment(s) or links included within.
* THE CONTENT OF THIS EMAIL IS NOT LEGAL ADVICE AND SHOULD NOT BE TREATED AS SUCH. CONTENT IS THE AUTHORS OPINION BASED ON EXPERIENCE OR THEIR INTERPRETATION OF PUBLICLY AVAILABLE INFORMATION. NONE OF OUR STAFF ARE LEGALLY TRAINED AND WE ALWAYS ADVISE THAT PROPER LEGAL ADVICE IS TAKEN IF REQUIRED.