in reply to Re: I need to print a string but only if it doesn't match a value in an array.
in thread I need to print a string but only if it doesn't match a value in an array.

I faced a similar choice with IMAP modules, and went with Net::IMAP because it had the method I needed specifically for a simple biffer. In your case, if Mail::POP3Client has a method that gets rid of a lot of your own code, it seems worth using.

In your topic post you said you wanted to delete headers, but your approach seems error prone at best (what if you encounter a header you didn't plan on). The Body method of Mail::POP3Client works because it uses the structure of a message, not a list of known headers.

How about giving Mail::POP3Client another go? You can post more questions or /msg me if you need help with specifics.

Replies are listed 'Best First'.
Re: Mail::POP3Client or Net::POP3
by create 3 arrays. first array last names, second name first name and third array (Initiate) on Feb 22, 2001 at 20:33 UTC
    yeah I actually gave it another try last night, cut my code in half, I figured that the problem I was having was that my mail server uses plaintext instead of apop, and so it kept failing. thanx for all the help my next hurdle is DBI and MySQL, wish me luck :)