http://www.perlmonks.org?node_id=1014885


in reply to Sending Email Attachment Using Perl

May help you, MIME::Lite - For outging mail with attachments

I think you have taken this from this How to send email attachments using Perl / MIME::Lite you have added this filename=* extra