My sample xls file was .8MB or over 800K. If you are failing with a size limit, I doubt it is Perl's fault. FWIW, I had a similar problem awhile back, where I couldn't make any attachments over 3 MB. It turned out it was some limitation of the wireless repeater I was using. Can you test with a direct connection to an ethernet cable?