How can I send email attachment without using an additional library in Perl?

后端 未结 6 800
感情败类
感情败类 2021-01-15 06:49

Hey, I was wondering if there is a way to attach files (specifically .csv files) to a mail message in Perl without using MIME::Lite or any other libraries.

Right now

6条回答
  •  悲哀的现实
    2021-01-15 07:07

    Why do you want to write code that already exists? There's probably a much better way to solve your task than recreating bugs and maintaining more code yourself. Are you having a problem installing modules? There are ways that you can distribute third-party modules with your code, too.

    If you want to do it yourself, you just have to do the same things the module does for you. You can just look at the code to see what they did. You just do that. It is open source after all. :)

提交回复
热议问题