Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Mailtools vs: MIME::tools

by ilcylic (Scribe)
on Apr 03, 2002 at 05:12 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://156237]
Approved by mdillon
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2017-08-23 14:05 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (353 votes). Check out past polls.