I'm trying to send LWP request with this module, but i've got such an response:
500 Undefined subroutine &LWP::Debug::trace called
Content-Type: text/plain
Client-Date: Mon, 29 Jun 2009 11:56:12 GMT
Client-Warning: Internal response
..... foreach(@socks){ $serv = shift(@socks); @LWP::Protocol::http::SocksChain::EXTRA_SOCK_OPTS = ( Chain_Len => 1, Debug => 1, Random => 0 +, Auto_Save = +> 1, Restore_Typ +e => 1, Chain_File_ +Data => ["$serv:::5::115 b/s Sock"]); my $req = HTTP::Request->new( GET => 'http://google.ru'); my $res = $ua->request($req) || die $!; $res = $res->as_string; print "$res \n"; #print "$socks[1]\n"; }
Strange thing is when i'm trying to set breakpoint on LWP::Debug, there is no such func..
I just cant understand anything..have anybody made it working?Thanks a lot in advance!
In reply to LWP::Protocol::http::SocksChain question by gemoroy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |