Posted on 2008-11-05 02:15:49-08 by eru
WWW::Google::PageRank->new() allowable parameters error.
Hello Every one, I have a problem with the acceptable parameters of the class
WWW::Google::PageRank->new()
the allowed parameters are "host,timeout,proxy and agent. but when i specify the parameter Proxy, it throws errors on Pagerank.pm module and terminates the execution. ex :
WWW::Google::PageRank->new(host => $ip_address, timeout => 5,proxy => $proxy_ip);
The Proxy parameter is not accepted. errors :
Use of uninitialized value in hash element at /usr/share/perl5/LWP/Protocol.pm line 55. Use of uninitialized value in pattern match (m//) at /usr/share/perl5/LWP/Protocol.pm line 58. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/LWP/Protocol.pm line +38. Use of uninitialized value in string eq at /usr/share/perl5/LWP/UserAgent.pm line 195. Use of uninitialized value in hash element at /usr/share/perl5/LWP/Protocol.pm line 55. Use of uninitialized value in pattern match (m//) at /usr/share/perl5/LWP/Protocol.pm line 58. Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/LWP/Protocol.pm line +38. Use of uninitialized value in string eq at /usr/share/perl5/LWP/UserAgent.pm line 195. Use of uninitialized value in hash element at /usr/share/perl5/LWP/Protocol.pm line 55. Use of uninitialized value in pattern match (m//) at /usr/share/perl5/LWP/Protocol.pm line 58.
Could some one here Please help me on how to avoide these errors and use the Proxy successfully. Thanks and Regards -Eru
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.