in reply to Re: Automate google search
in thread Automate google search

$go->field('q','hello',1)

this will set the text hello in google search query

$go->on_event()

this means that the event has completed

print 1

as i have already said in my post that i was testing my program with print statement and it was not getting printed in my program but i was still getting the result

Replies are listed 'Best First'.
Re^3: Automate google search
by Corion (Patriarch) on Jun 27, 2011 at 17:05 UTC

    I'm asking these questions because I wonder where you found that usage of WWW::Mechanize::Firefox, and where it was documented to work. Because to my knowledge, neither the three arguments to ->field nor ->on_event() are documented, and ->on_event() makes no sense.

      it seems i got confused,thanks for pointing it out