[Chicago-talk] WWW::Mechanize

Richard Solberg flateyjarbok at yahoo.com
Fri Apr 2 17:28:01 CST 2004


All,

Struggling with my newly installed WWW::Mechanize and
would appreciate some help on forms.

Does this get me to the page after the form submit or
do I still need to press submit?

$m->submit_form(
form_number => 1,
fields => {
	user_id       => "user",
	password      => "pw",
	   },
		);

Also when I am at a page on a web site 
are there commands in mechanize to show me:

1) A list of all the forms

2) Which one is current

3) What the field names are of each of the forms?

Thanks much.

Richard Solberg


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/



More information about the Chicago-talk mailing list