Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: WWW::Mechanize to Fill in Fields when no Form Defined

by Kanji (Parson)
on Apr 03, 2011 at 03:15 UTC ( #897147=note: print w/ replies, xml ) Need Help??


in reply to WWW::Mechanize to Fill in Fields when no Form Defined

If the <form> tags are missing, you can add your own with WWW::Mechanize's update_html method:-

$ua->update_html('<form>' . $ua->content . '</form>');

    --k.



Comment on Re: WWW::Mechanize to Fill in Fields when no Form Defined
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://897147]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-07-04 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls