$proxy_list[0] = # "vpn" . $tid . ".findnot.com:1088:user:pass:5 proxy"; $proxy[2] . ":" . $proxy[3] . ":" . $proxy[4] . ":" . $proxy[5] . ":" . $proxy_type . ":HTTP proxy"; LWP::Protocol::implementor( http => 'LWP::Protocol::http::SocksChain' ); @LWP::Protocol::http::SocksChain::EXTRA_SOCK_OPTS = ( Chain_Len => 1, Debug => 8, Random_Chain => 0, Auto_Save => 1, Restore_Type => 1, Log_file => "/root/connector/sockschainlog", Chain_File_Data => \@proxy_list, HTTP_CLIENT => "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)" ); LWP::Protocol::implementor( https => 'LWP::Protocol::https::SocksChain' ); @LWP::Protocol::https::SocksChain::EXTRA_SOCK_OPTS = ( Chain_Len => 1, Debug => 1, Random_Chain => 0, Auto_Save => 1, Restore_Type => 1, Log_file => "/root/connector/sockschainlog1", Chain_File_Data => \@proxy_list );