Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
WWW::Mechanize, radio buttons, and clicking a named buttonby mpettis (Beadle) |
on May 03, 2006 at 21:11 UTC ( [id://547270]=perlquestion: print w/replies, xml ) | Need Help?? |
mpettis has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I could not find relevant help on google or your search archives, so I am posting here. I am scraping a screen that I want to use to submit a form based upon a chosen radio button, which will return a different page. A data::dumper of the form is at the end of the post. I do the following AFTER my $mech object (I'm just including a form dump) returns the data following the '-------...' line (with a status of 200): (Another update - looks like my original 'code' snipped was stripped out by the moderators - probably because my 2nd code segment didn't have a closing tag)) Note also that for lmRB => $_, $_ is one of the values in the 'menu' array in this dump at the end. I've also tried using a value from the 'value_names' array with the same result. (Update: here is a link to the full dump): ------------------------------------------ http://www.graciegoose.com/code/sla-form-dump.txt (Update: here is a link to the page i am parsing. It will not work to actually submit anything here, since the website is internal, but it has the original content.): ------------------------------------------ http://www.graciegoose.com/code/sla-page-content.htm
Back to
Seekers of Perl Wisdom
|
|