[PerlChina] LWP::UserAgent的使用问题
=?GB2312?B?hWSEXoVk?=
wanliyou at gmail.com
Sun Aug 6 21:51:14 PDT 2006
English DOC is enough.
Thanks a lot!
On 8/7/06, Qiang (James) Li <shijialee at gmail.com> wrote:
>
> On 8/4/06,
d^
d <wanliyou at gmail.com> wrote:
> >
> > ±¾Ïë½ØȡijÍøÕ¾Ò³ÃæµÄÊý¾Ý£¬µ«×ÜÊDz»ÐÐ
> >
> > ºóÏëµ½¿ÉÄÜÒªÉèproxy£¬ÓÚÊÇ¿´UserAgentµÄÎĵµ£¬·¢ÏÖ$ua->proxy¿ÉÒÔÉèÖõØÖ·£¬µ«ID£¬ÅÂsswordÑéÖ¤µÄ·½·¨ÊÇʲôÄØ£¿
>
> short answer:
> $ua->proxy(['http', 'ftp'] => '
> http://username:password@proxy.myorg.com');
> long answer, read: perldoc lwpcook
>
> > ÁíÍ⣺$ua->credentials( $netloc, $realm, $uname, $pass );¾ßÌåÔõôÓÃÄØ£¿
>
> read:
> http://www.perlchina.org/archive/archive.php?action=archive&page=15
> or lwpcook
>
> sorry, no chinese here and i am on 56k dial-up ;-0
>
> Qiang
>
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
--
--==Best Regards From WanLi==--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/china-pm/attachments/20060807/737e2cdd/attachment.html
More information about the China-pm
mailing list