ilcylic has asked for the
wisdom of the Perl Monks concerning the following question:
I hope this is the right place to post this, if not, I apologize.
I'm working on a mail system, and it needs to be able to handle MIME encoded stuff. What I'm wondering is if I need to determine if a given message has MIME data in it, and call the MIME::Parser routine on it if it does, and Mail::Internet on it if it doesn't. I know MIME inherits from Mail, but I'm not sure if there's a performance hit for using the MIME routines when I could be using the Mail stuff instead. Then again, figuring out if the mail message has MIME stuff in it could take longer than just calling the MIME routine on it in the first place. I'm (hopefully) writing towards the best scalability I can get, so speed is an issue.
Thanks for your help.