Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Mechanize and Post?

by Joost (Canon)
on Sep 17, 2007 at 19:48 UTC ( [id://639472]=note: print w/replies, xml ) Need Help??


in reply to Re: Mechanize and Post?
in thread Mechanize and Post?

Or, since WWW::Mechanize is a subclass of LWP::UserAgent, you could just use LWP::UserAgent's method post() on the mechanize object.

Replies are listed 'Best First'.
Re^3: Mechanize and Post?
by Anonymous Monk on Sep 17, 2007 at 20:02 UTC
    So is it as simple as something like this:
    my $url = 'http://somewebsite?with_form_data'; $mech->post( $url );
    using my current $mech object?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 15:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found