[CentOS] parsing an e-mail with perl

Sun Jan 16 15:17:06 UTC 2011
Dave Cross <davorg at gmail.com>

On 13 January 2011 01:27, Gregory P. Ennis <PoMec at pomec.net> wrote:
> Dear List,
>
> I need to be able to pull off attachments from e-mails on the fly and
> then demime them and print them.  I have been studying MIME::Tools but
> was hoping someone could point me to a script example of something I
> could use.

The modern way to handle email in Perl is to use the modules created
by the "Perl Email Project". These are largely the modules on CPAN
that start with Email::.

In your case, I suspect you want Email::MIME.
http://search.cpan.org/perldoc?Email::MIME

Cheers,

Dave...

-- 
Dave Cross :: dave at dave.org.uk
http://dave.org.uk/
@davorg