Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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.


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://897147]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-10-19 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (251 votes). Check out past polls.

    Notices?