in reply to Download Excel File off web

It seems you forgot binmode on your output file handle.

But actually, I'd try to use LWP::Simple's getstore() function, and let it save the file as binary for you.