in reply to Download a file from https site
As you were already told in the Chatterbox, use WWW::Mechanize for this.