in reply to using and debuging www Mechanize
Hello and welcome!
If you want to see "where" you are with a WWW::Mechanize object, you can use HTML::Display to display the current page in a browser, or, and this is most likely easier in your situation, just use
$mech->dump_forms();
to get a feel for the names of the fields on the forms. You will also in the long run need to learn some HTML. The name for the "username" field is ctl00$ctl00$cphserver$cphLogin$txtUser, and you'll find the name for the "password" field quier easily from that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using and debuging www Mechanize
by yantar (Initiate) on Jun 08, 2009 at 12:51 UTC | |
by Corion (Patriarch) on Jun 08, 2009 at 12:58 UTC | |
by yantar (Initiate) on Jun 08, 2009 at 13:14 UTC | |
by Anonymous Monk on Jun 08, 2009 at 13:22 UTC | |
by yantar (Initiate) on Jun 08, 2009 at 13:32 UTC | |
|