Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: CPAN Testing SSL requirements

by tqisjim (Beadle)
on Jun 07, 2013 at 23:11 UTC ( #1037778=note: print w/replies, xml ) Need Help??

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 (Pope) 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/ 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; "

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1037778]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-09-22 06:41 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (259 votes). Check out past polls.