Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Mechanize and Post?

by andyford (Curate)
on Sep 17, 2007 at 19:45 UTC ( #639471=note: print w/ replies, xml ) Need Help??


in reply to Mechanize and Post?

Well I think you don't need Mech, just LWP::UserAgent.

non-Perl: Andy Ford

Replies are listed 'Best First'.
Re^2: Mechanize and Post?
by Joost (Canon) on Sep 17, 2007 at 19:48 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
Node Status?
node history
Node Type: note [id://639471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2016-08-27 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (380 votes). Check out past polls.