kc has asked for the wisdom of the Perl Monks concerning the following question:

Hi I was wondering if there are some modules that allows one to send a cgi query to a website and then save the resulting webpage? Thanks!

Replies are listed 'Best First'.
Re: query CGI and save results
by Anonymous Monk on Oct 23, 2011 at 13:39 UTC
      Even something simple such as LWP::Simple's getstore() method is probably enough. If you need to POST a form, LWP::UserAgent (in the same distribution) is required.

        Even something simple such as ... probably ...

        I used to think that 10 years ago, but I'd see folks stumble with cookies .... WWW::Mechanize takes care of a lot of details for you, I stick with Mechanize-alikes even if LWP would suffice