Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Mailtools vs: MIME::tools

by ilcylic (Scribe)
on Apr 03, 2002 at 05:12 UTC ( [id://156237]=perlquestion: print w/replies, xml ) Need Help??

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.

-il cylic

Replies are listed 'Best First'.
Re: Mailtools vs: MIME::tools
by ilcylic (Scribe) on Apr 03, 2002 at 17:27 UTC
    Alternatively, if someone can suggest a good way to test the speed of a set of operations under perl, I could make some sort of program which did "a lot" (where a lot is defined as "enough to get numbers big enough on the clock to try and make a descision by them") of both types of operations, on the same dataset, over and over, to see if one method is appreciably faster.

    But I don't know how to do that either. Thanks for your help.

    -il cylic

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://156237]
Approved by mdillon
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-19 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found