2009年11月5日星期四

[PerlChina] Re: 求教mech

try

my $resp = $mech->get($url);
print $resp->content;

see if the content has the Logon form inside.

Thanks

2009/11/5 perlw01f <p3r1w01f@gmail.com>:
>
> Thanks
> But the same error turns out.
>
> On Nov 5, 8:03 pm, Fayland Lam <fayl...@gmail.com> wrote:
>> you need
>>
>> $mech->get($url) first
>> then try form_name
>
>
> >
>

--
Fayland Lam // http://www.fayland.org/

--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

没有评论: