See one of the many modules on CPAN, such as MIME::Lite. Googling "email attachments perl" yields lots of examples including one from The Perl Cookbook.
If you have permission to change the script, you probably have permission to install modules in your own directory. If you decide you can't do that, the modules you should use show you how to code the problem. :)
Good luck!
In reply to Re: how to attach file in sendmail
by brian_d_foy
in thread how to attach file in sendmail
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |