I have written a script that uses LWP to talk to a servlet via HTTP. I have also
installed Crypt-SSLeay from http://theoryx5.uwinnipeg.ca/ppmpackages/Crypt-SSLeay.ppd
(I'm using perl 5.6.1, build 631). The script works great when I run it in the
debugger. When I try to compile it using perlapp (I'm running PDK version 5.1.0), I
get the following errors:
LWP\Protocol\http10.pm:
error: Can't locate LWP\Protocol\http10.pm
refby: c:\Perl\site\lib\LWP\UserAgent.pm
LWP\Protocol\https10.pm:
error: Can't locate LWP\Protocol\https10.pm
refby: c:\Perl\site\lib\LWP\UserAgent.pm
LWP\Protocol\nogo.pm:
error: Can't locate LWP\Protocol\nogo.pm
refby: c:\Perl\site\lib\LWP\UserAgent.pm
The reason UserAgent.pm is asking for the first two appears to be because of the
following lines:
if ($ENV{PERL_LWP_USE_HTTP_10}) {
require LWP::Protocol::http10;
LWP::Protocol::implementor('http', 'LWP::Protocol::http10');
eval {
require LWP::Protocol::https10;
LWP::Protocol::implementor('https', 'LWP::Protocol::https10');
};
}
I looked at my environment variables and did NOT find PERL_LWP_USE_HTTP_10 to be
defined, so I'm not sure why this code is being invoked.
Should I simply download the three missing pieces, or is there more going on here
about which I need to be aware?
Thanks,
Ken