Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl Mechanize

by choroba (Chancellor)
on Apr 22, 2013 at 22:18 UTC ( #1029988=note: print w/replies, xml ) Need Help??


in reply to Perl Mechanize

The page contains some javascript. It might be possible that the page cannot be submitted without interpreting it. In such a case, you might be more lucky with WWW::Mechanize::Firefox.

Moreover, checking the documentation of WWW::Mechanize, I noticed that $browser->submit takes no parameters and returns a HTTP::Response object. Specifying

value => 'Run'
is debatable as well, since the button is not called "value" and its value is "RUN", not "Run".
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Perl Mechanize
by zoya (Initiate) on Apr 23, 2013 at 06:52 UTC
    Thank you for the answer, i am still having troubles, unable to install mechanize firefox and secondly i change the run to RUN but still same output, can u plz explain me further

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2016-09-26 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (478 votes). Check out past polls.