in reply to
Re^8: fetching and storing data from web.
in thread fetching and storing data from web.
Thanks. By reworking one of the examples I was able to put together a code which opens the Firefox browser, loads the CPAN search page, fills in the query field with 'WWW::Mechanize' and then submits the form:
# the module we're looking for
my $module_name = 'WWW::Mechanize';
# create a new browser
my $browser = WWW::Mechanize::Firefox->new(
launch => 'C:/Program Files/Mozilla Firefox/firefox.exe',tab=>'cur
# tell it to get the main page
# submit the query form