Re: [問題] 請教 WWW::Mechanize 的問題
請教一下,下面是我的code, 我想做個自動投票的程式..
可是這段code好像沒法達成,可以告訴我甚麼問題嗎?
謝謝
use WWW::Mechanize;
my $mech=WWW::Mechanize->new();
my $url='http://tbca.npo.org.tw/activity/life3.asp?qafileitem_serno=26';
$mech->get($url);
$mech->form_number(1);
$mech->field('Cell' => '0911143528');
$mech->submit();
print $mech->response->status_line, "\n";
$mech->submit();
※ 引述《eleghost (Work Smart)》之銘言:
: 最近想寫個線上投票程式,目前是參考
: http://jck11.pixnet.net/blog/post/4654651
: 但是有些地方不知道要怎樣得到資訊,例如 :
: $mech->field('textfield22' => 'xxxxxxxx');
: 請問textfield22是甚麼意思呢?
: 有人可以跟我說一下嗎? 謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.117.196.92
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
Perl 近期熱門文章
PTT數位生活區 即時熱門文章