WWW::Mechanize module: multiple Select.
From: Charlie (cji_work_at_yahoo.com)
Date: 07/14/04
- Next message: Sisyphus: "Re: Where to ask questions about Win32::ODBC?"
- Previous message: Andy Stevenson: "error: requires explicit package name useing DBI"
- Next in thread: Joe Smith: "Re: WWW::Mechanize module: multiple Select."
- Reply: Joe Smith: "Re: WWW::Mechanize module: multiple Select."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 13 Jul 2004 18:36:01 -0700
Hi Folks,
It seems to me that there is a bug in the WWW::Mechanize module that
"multiple Select" does not work correctly.
Here is the code that written in PERL that gives "illegual value '452'
for field 'keyword' during the runtime.
"
$mech = WWW::Mechanize->new();
$mech->form(1);
$mech->field('keyword', 452);
$mech->submit();
...
"
Does anyone know a way to work around. I do not have the permission to
check the HTML file. And I have to select the keywords many many times
MANUALLY if that perl scripts does not work.
Any help ?
CJI.
Here is the html file I was going to access:
<FORM NAME="order_create" METHOD="POST"
ACTION="/cgi-bin/staffing/manager/ordervalidate_p2.pl" >
...
<TABLE border=0 bgcolor="#eeeeee" cellpadding="3" cellspacing="0"
width=100%>
<select name="keywords" MULTIPLE size=8>
<option value="452">10 Key</option><option
value="445">Access</option><option
value="446">Administrative</option><option value="1">Administrative
Assistant</option><option value="363">Administrative/Clerical</option>
</select>
</TABLE>
...
</FORM>
- Next message: Sisyphus: "Re: Where to ask questions about Win32::ODBC?"
- Previous message: Andy Stevenson: "error: requires explicit package name useing DBI"
- Next in thread: Joe Smith: "Re: WWW::Mechanize module: multiple Select."
- Reply: Joe Smith: "Re: WWW::Mechanize module: multiple Select."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|