in reply to Re: LWP::Simple trouble.
in thread LWP::Simple trouble. [SOLVED]

Thank you guys! It works with:

$mech -> get($downloadURI); $mech -> save_content($fileName);

I thought LWP::Simple was the standard way to download stuff with perl. The problem really was the loss of the cookies.