Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 rifling through the Monastery: (8)
As of 2018-08-21 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (200 votes). Check out past polls.

    Notices?