http://www.perlmonks.org?node_id=1037778


in reply to Re: CPAN Testing SSL requirements
in thread CPAN Testing SSL requirements

How can I test your recommendation without setting up my own CPAN test bed without LWP::Protocol::https?

As it stands, I encountered an obstacle right away. There is no defined $LWP::Protocol::https::VERSION. Under these circumstances, will the requirements test fail regardless of how I specify that module in Makefile.PL? I hate to ask, but since I don't know how to test it, is your answer a guess, or are you confident it will solve my problem?

Thanks again! -Jim

Replies are listed 'Best First'.
Re^3: CPAN Testing SSL requirements
by Corion (Patriarch) on Jun 08, 2013 at 06:53 UTC

    You may or may not be interested in Test::Without::Module, or the younger and more maintained implementations whose names escape me.

    If you don't want to (or as in your case, can't) specify a version in your prerequisite, you can always use 0 or undef in place of the version number.

    If you doubt my recommendation, I recommend to just use it and watch how the CPAN testers behave. There is no fee involved, and they won't send you angry mails about breaking your prerequisites either.

Re^3: CPAN Testing SSL requirements ( @INC )
by Anonymous Monk on Jun 08, 2013 at 01:26 UTC
    <c>$ perl -le " print for @INC C:/citrusperl/site/lib/MSWin32-x86-multi-thread C:/citrusperl/site/lib C:/citrusperl/vendor/lib C:/citrusperl/lib . $ perl -le " @INC = @INC[-2]; require LWP::Protocol::https; " Can't locate LWP/Protocol/https.pm in @INC (@INC contains: C:/citruspe +rl/lib) at -e line 1. $ cpanm -L extlib LWP::Protocol::https ... $ perl -e " @INC = ( q(extlib/lib/perl5), @INC[-2] ); require LWP::Pr +otocol::https; "