Hello, maybe my problem is trivial, but I cannot find an answer. I will try to explain you what is going on.
The simplest problem to explain is when I try to download a module using cpan. I always get the error:
Fetching with LWP: ftp://mirrors.localhost.net.ar/pub/mirrors/CPAN/authors/id/whatever Use of uninitialized value in hash element at /Library/Perl/5.8.6/LWP/ +Protocol.pm line 53. Use of uninitialized value in pattern match (m//) at /Library/Perl/5.8 +.6/LWP/Protocol.pm line 56. Use of uninitialized value in concatenation (.) or string at /Library/ +Perl/5.8.6/LWP/Protocol.pm line 36. Use of uninitialized value in string eq at /Library/Perl/5.8.6/LWP/Use +rAgent.pm line 199.
The extracted lines where the errors come from are:
Protocol.pm line 53 my $ic = $ImplementedBy{$scheme}; line 56 return '' unless $scheme =~ /^([.+\-\w]+)$/; # check valid + URL schemes line 36 my $impclass = LWP::Protocol::implementor($scheme) or UserAgent.pm line 199 if ($scheme eq "https") {
So, it seems that I have a problem with the assignement of a value to the variable $scheme. Other scripts that use LWP::UserAgent and LWP::Protocol give me the same type of errors, but I write down more explicitely the problem with the cpan modules because they should be more familiar for you.
All I could find about $scheme had something to do with setting or using proxies, is that true? I have no proxies set in my configuration, or they have been assigned automatically by my ISP, I don't know about that.
So, some questions arise: what can I do to solve that problem? Where I can find more information? Where I should start reading? What is that $scheme variable?
Thank you in advance for your help.
Roger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |