Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Problem submitting form with Mechanize

by marto (Archbishop)
on Jan 05, 2011 at 22:59 UTC ( #880707=note: print w/replies, xml ) Need Help??


in reply to Problem submitting form with Mechanize

You don't seem to be submitting the form, try:

$agent->submit();

Replies are listed 'Best First'.
Re^2: Problem submitting form with Mechanize
by pat_mc (Pilgrim) on Jan 05, 2011 at 23:04 UTC
    Hm ... thanks, marto. The reason why I did not include a form submit was because of the line
    <form method="post" action="http://...">
    When I do include the submit, I receive the following error message:
    Can't call method "make_request" on an undefined value at C:/Perl/lib/ +WWW/Mechanize.pm line 1804.
    So where does that leave me now?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-12-12 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (59 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!