in reply to Using WWW::Mechanize to save contents of downloaded file

You're speaking in pictures not in technical terms (HTTP)

save_content saves the content of the page that you ->get, as the documentation documents

If you want download content of some other url and save as file.csv, you gotta write different code

https://metacpan.org/pod/WWW::Mechanize::FAQ#How-do-I-save-an-image-How-do-I-save-a-large-tarball

  • Comment on Re: Using WWW::Mechanize to save contents of downloaded file

Replies are listed 'Best First'.
Re^2: Using WWW::Mechanize to save contents of downloaded file
by perl_help26 (Beadle) on Dec 31, 2014 at 07:08 UTC
    Thank you so much ...I ended up with this code :
    $mech->get ($Url,':content_file' => 'filename.csv'); $mech->get( 'filename.csv' );